AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResumeSessionResult.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 ResumeSessionResult();
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 ResumeSessionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
44 inline ResumeSessionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
45 inline ResumeSessionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
47
49
53 inline const Aws::String& GetTokenValue() const{ return m_tokenValue; }
54 inline void SetTokenValue(const Aws::String& value) { m_tokenValue = value; }
55 inline void SetTokenValue(Aws::String&& value) { m_tokenValue = std::move(value); }
56 inline void SetTokenValue(const char* value) { m_tokenValue.assign(value); }
57 inline ResumeSessionResult& WithTokenValue(const Aws::String& value) { SetTokenValue(value); return *this;}
58 inline ResumeSessionResult& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;}
59 inline ResumeSessionResult& WithTokenValue(const char* value) { SetTokenValue(value); return *this;}
61
63
76 inline const Aws::String& GetStreamUrl() const{ return m_streamUrl; }
77 inline void SetStreamUrl(const Aws::String& value) { m_streamUrl = value; }
78 inline void SetStreamUrl(Aws::String&& value) { m_streamUrl = std::move(value); }
79 inline void SetStreamUrl(const char* value) { m_streamUrl.assign(value); }
80 inline ResumeSessionResult& WithStreamUrl(const Aws::String& value) { SetStreamUrl(value); return *this;}
81 inline ResumeSessionResult& WithStreamUrl(Aws::String&& value) { SetStreamUrl(std::move(value)); return *this;}
82 inline ResumeSessionResult& WithStreamUrl(const char* value) { SetStreamUrl(value); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline ResumeSessionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline ResumeSessionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline ResumeSessionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_sessionId;
98
99 Aws::String m_tokenValue;
100
101 Aws::String m_streamUrl;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace SSM
108} // namespace Aws
const Aws::String & GetTokenValue() const
ResumeSessionResult & WithRequestId(const Aws::String &value)
void SetStreamUrl(const Aws::String &value)
ResumeSessionResult & WithTokenValue(const Aws::String &value)
const Aws::String & GetSessionId() const
ResumeSessionResult & WithStreamUrl(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetSessionId(const Aws::String &value)
AWS_SSM_API ResumeSessionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetStreamUrl() const
ResumeSessionResult & WithRequestId(const char *value)
ResumeSessionResult & WithSessionId(const Aws::String &value)
ResumeSessionResult & WithStreamUrl(const char *value)
const Aws::String & GetRequestId() const
ResumeSessionResult & WithTokenValue(const char *value)
ResumeSessionResult & WithStreamUrl(const Aws::String &value)
ResumeSessionResult & WithRequestId(Aws::String &&value)
ResumeSessionResult & WithSessionId(const char *value)
void SetTokenValue(Aws::String &&value)
AWS_SSM_API ResumeSessionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResumeSessionResult & WithTokenValue(Aws::String &&value)
ResumeSessionResult & WithSessionId(Aws::String &&value)
void SetTokenValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue