AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartSessionResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SSM_API StartSessionResult();
33
34
36
39 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
40 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
41 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
42 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
43 inline StartSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
44 inline StartSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
45 inline StartSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
47
49
55 inline const Aws::String& GetTokenValue() const{ return m_tokenValue; }
56 inline void SetTokenValue(const Aws::String& value) { m_tokenValue = value; }
57 inline void SetTokenValue(Aws::String&& value) { m_tokenValue = std::move(value); }
58 inline void SetTokenValue(const char* value) { m_tokenValue.assign(value); }
59 inline StartSessionResult& WithTokenValue(const Aws::String& value) { SetTokenValue(value); return *this;}
60 inline StartSessionResult& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;}
61 inline StartSessionResult& WithTokenValue(const char* value) { SetTokenValue(value); return *this;}
63
65
78 inline const Aws::String& GetStreamUrl() const{ return m_streamUrl; }
79 inline void SetStreamUrl(const Aws::String& value) { m_streamUrl = value; }
80 inline void SetStreamUrl(Aws::String&& value) { m_streamUrl = std::move(value); }
81 inline void SetStreamUrl(const char* value) { m_streamUrl.assign(value); }
82 inline StartSessionResult& WithStreamUrl(const Aws::String& value) { SetStreamUrl(value); return *this;}
83 inline StartSessionResult& WithStreamUrl(Aws::String&& value) { SetStreamUrl(std::move(value)); return *this;}
84 inline StartSessionResult& WithStreamUrl(const char* value) { SetStreamUrl(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline StartSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline StartSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline StartSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_sessionId;
100
101 Aws::String m_tokenValue;
102
103 Aws::String m_streamUrl;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace SSM
110} // namespace Aws
void SetTokenValue(const Aws::String &value)
AWS_SSM_API StartSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStreamUrl(Aws::String &&value)
StartSessionResult & WithStreamUrl(const Aws::String &value)
void SetSessionId(const Aws::String &value)
StartSessionResult & WithRequestId(Aws::String &&value)
StartSessionResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
StartSessionResult & WithTokenValue(const char *value)
StartSessionResult & WithTokenValue(Aws::String &&value)
void SetSessionId(Aws::String &&value)
const Aws::String & GetStreamUrl() const
const Aws::String & GetTokenValue() const
StartSessionResult & WithRequestId(const char *value)
StartSessionResult & WithStreamUrl(Aws::String &&value)
void SetRequestId(Aws::String &&value)
StartSessionResult & WithSessionId(const Aws::String &value)
StartSessionResult & WithSessionId(const char *value)
StartSessionResult & WithSessionId(Aws::String &&value)
void SetStreamUrl(const Aws::String &value)
AWS_SSM_API StartSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetSessionId() const
StartSessionResult & WithTokenValue(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetTokenValue(Aws::String &&value)
StartSessionResult & WithStreamUrl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue