AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
StartCisSessionMessage.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2 {
20namespace Model {
21
28 public:
29 AWS_INSPECTOR2_API StartCisSessionMessage() = default;
32 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetSessionToken() const { return m_sessionToken; }
39 inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; }
40 template <typename SessionTokenT = Aws::String>
41 void SetSessionToken(SessionTokenT&& value) {
42 m_sessionTokenHasBeenSet = true;
43 m_sessionToken = std::forward<SessionTokenT>(value);
44 }
45 template <typename SessionTokenT = Aws::String>
46 StartCisSessionMessage& WithSessionToken(SessionTokenT&& value) {
47 SetSessionToken(std::forward<SessionTokenT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_sessionToken;
53 bool m_sessionTokenHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Inspector2
58} // namespace Aws
AWS_INSPECTOR2_API StartCisSessionMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
StartCisSessionMessage & WithSessionToken(SessionTokenT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API StartCisSessionMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API StartCisSessionMessage()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue