AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Session.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS
22{
23namespace Model
24{
25
31 class Session
32 {
33 public:
34 AWS_ECS_API Session();
35 AWS_ECS_API Session(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
45 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
46 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
47 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
48 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
49 inline Session& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
50 inline Session& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
51 inline Session& WithSessionId(const char* value) { SetSessionId(value); return *this;}
53
55
59 inline const Aws::String& GetStreamUrl() const{ return m_streamUrl; }
60 inline bool StreamUrlHasBeenSet() const { return m_streamUrlHasBeenSet; }
61 inline void SetStreamUrl(const Aws::String& value) { m_streamUrlHasBeenSet = true; m_streamUrl = value; }
62 inline void SetStreamUrl(Aws::String&& value) { m_streamUrlHasBeenSet = true; m_streamUrl = std::move(value); }
63 inline void SetStreamUrl(const char* value) { m_streamUrlHasBeenSet = true; m_streamUrl.assign(value); }
64 inline Session& WithStreamUrl(const Aws::String& value) { SetStreamUrl(value); return *this;}
65 inline Session& WithStreamUrl(Aws::String&& value) { SetStreamUrl(std::move(value)); return *this;}
66 inline Session& WithStreamUrl(const char* value) { SetStreamUrl(value); return *this;}
68
70
74 inline const Aws::String& GetTokenValue() const{ return m_tokenValue; }
75 inline bool TokenValueHasBeenSet() const { return m_tokenValueHasBeenSet; }
76 inline void SetTokenValue(const Aws::String& value) { m_tokenValueHasBeenSet = true; m_tokenValue = value; }
77 inline void SetTokenValue(Aws::String&& value) { m_tokenValueHasBeenSet = true; m_tokenValue = std::move(value); }
78 inline void SetTokenValue(const char* value) { m_tokenValueHasBeenSet = true; m_tokenValue.assign(value); }
79 inline Session& WithTokenValue(const Aws::String& value) { SetTokenValue(value); return *this;}
80 inline Session& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;}
81 inline Session& WithTokenValue(const char* value) { SetTokenValue(value); return *this;}
83 private:
84
85 Aws::String m_sessionId;
86 bool m_sessionIdHasBeenSet = false;
87
88 Aws::String m_streamUrl;
89 bool m_streamUrlHasBeenSet = false;
90
91 Aws::String m_tokenValue;
92 bool m_tokenValueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ECS
97} // namespace Aws
void SetSessionId(const Aws::String &value)
Definition Session.h:46
AWS_ECS_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStreamUrl(Aws::String &&value)
Definition Session.h:62
void SetStreamUrl(const char *value)
Definition Session.h:63
bool SessionIdHasBeenSet() const
Definition Session.h:45
void SetTokenValue(Aws::String &&value)
Definition Session.h:77
void SetSessionId(Aws::String &&value)
Definition Session.h:47
bool StreamUrlHasBeenSet() const
Definition Session.h:60
Session & WithTokenValue(Aws::String &&value)
Definition Session.h:80
Session & WithSessionId(const Aws::String &value)
Definition Session.h:49
const Aws::String & GetSessionId() const
Definition Session.h:44
Session & WithStreamUrl(const Aws::String &value)
Definition Session.h:64
const Aws::String & GetTokenValue() const
Definition Session.h:74
Session & WithStreamUrl(const char *value)
Definition Session.h:66
Session & WithSessionId(const char *value)
Definition Session.h:51
void SetTokenValue(const char *value)
Definition Session.h:78
Session & WithTokenValue(const Aws::String &value)
Definition Session.h:79
Session & WithTokenValue(const char *value)
Definition Session.h:81
bool TokenValueHasBeenSet() const
Definition Session.h:75
Session & WithStreamUrl(Aws::String &&value)
Definition Session.h:65
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStreamUrl() const
Definition Session.h:59
void SetSessionId(const char *value)
Definition Session.h:48
void SetStreamUrl(const Aws::String &value)
Definition Session.h:61
AWS_ECS_API Session(Aws::Utils::Json::JsonView jsonValue)
Session & WithSessionId(Aws::String &&value)
Definition Session.h:50
void SetTokenValue(const Aws::String &value)
Definition Session.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue