AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLoggingConfigurationResult.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ivschat/model/DestinationConfiguration.h>
11#include <aws/ivschat/model/LoggingConfigurationState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ivschat
28{
29namespace Model
30{
32 {
33 public:
37
38
40
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline GetLoggingConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline GetLoggingConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline GetLoggingConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline void SetId(const Aws::String& value) { m_id = value; }
61 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
62 inline void SetId(const char* value) { m_id.assign(value); }
63 inline GetLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
64 inline GetLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
65 inline GetLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
74 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
75 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
77 inline GetLoggingConfigurationResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
86 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
87 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
89 inline GetLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetName() const{ return m_name; }
97 inline void SetName(const Aws::String& value) { m_name = value; }
98 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
99 inline void SetName(const char* value) { m_name.assign(value); }
100 inline GetLoggingConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
101 inline GetLoggingConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 inline GetLoggingConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
104
106
112 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
113 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; }
114 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); }
118
120
124 inline const LoggingConfigurationState& GetState() const{ return m_state; }
125 inline void SetState(const LoggingConfigurationState& value) { m_state = value; }
126 inline void SetState(LoggingConfigurationState&& value) { m_state = std::move(value); }
127 inline GetLoggingConfigurationResult& WithState(const LoggingConfigurationState& value) { SetState(value); return *this;}
128 inline GetLoggingConfigurationResult& WithState(LoggingConfigurationState&& value) { SetState(std::move(value)); return *this;}
130
132
136 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
137 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
138 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
140 inline GetLoggingConfigurationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
141 inline GetLoggingConfigurationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
142 inline GetLoggingConfigurationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
143 inline GetLoggingConfigurationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
144 inline GetLoggingConfigurationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
145 inline GetLoggingConfigurationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
146 inline GetLoggingConfigurationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
147 inline GetLoggingConfigurationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
149
151
152 inline const Aws::String& GetRequestId() const{ return m_requestId; }
153 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
154 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
155 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
156 inline GetLoggingConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
157 inline GetLoggingConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
158 inline GetLoggingConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
160 private:
161
162 Aws::String m_arn;
163
164 Aws::String m_id;
165
166 Aws::Utils::DateTime m_createTime;
167
168 Aws::Utils::DateTime m_updateTime;
169
170 Aws::String m_name;
171
172 DestinationConfiguration m_destinationConfiguration;
173
175
177
178 Aws::String m_requestId;
179 };
180
181} // namespace Model
182} // namespace ivschat
183} // namespace Aws
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetLoggingConfigurationResult & WithName(Aws::String &&value)
GetLoggingConfigurationResult & WithRequestId(const Aws::String &value)
GetLoggingConfigurationResult & WithArn(const Aws::String &value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
GetLoggingConfigurationResult & WithName(const Aws::String &value)
GetLoggingConfigurationResult & AddTags(const Aws::String &key, Aws::String &&value)
GetLoggingConfigurationResult & AddTags(const Aws::String &key, const Aws::String &value)
AWS_IVSCHAT_API GetLoggingConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLoggingConfigurationResult & WithId(const char *value)
GetLoggingConfigurationResult & WithName(const char *value)
GetLoggingConfigurationResult & WithUpdateTime(const Aws::Utils::DateTime &value)
GetLoggingConfigurationResult & WithUpdateTime(Aws::Utils::DateTime &&value)
GetLoggingConfigurationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetLoggingConfigurationResult & AddTags(Aws::String &&key, const char *value)
GetLoggingConfigurationResult & WithCreateTime(const Aws::Utils::DateTime &value)
GetLoggingConfigurationResult & WithRequestId(Aws::String &&value)
GetLoggingConfigurationResult & WithState(LoggingConfigurationState &&value)
GetLoggingConfigurationResult & WithCreateTime(Aws::Utils::DateTime &&value)
void SetState(const LoggingConfigurationState &value)
void SetDestinationConfiguration(DestinationConfiguration &&value)
const DestinationConfiguration & GetDestinationConfiguration() const
GetLoggingConfigurationResult & WithState(const LoggingConfigurationState &value)
GetLoggingConfigurationResult & AddTags(Aws::String &&key, Aws::String &&value)
GetLoggingConfigurationResult & AddTags(const char *key, Aws::String &&value)
GetLoggingConfigurationResult & WithId(const Aws::String &value)
GetLoggingConfigurationResult & WithDestinationConfiguration(const DestinationConfiguration &value)
GetLoggingConfigurationResult & WithArn(Aws::String &&value)
GetLoggingConfigurationResult & AddTags(const char *key, const char *value)
GetLoggingConfigurationResult & AddTags(Aws::String &&key, const Aws::String &value)
GetLoggingConfigurationResult & WithArn(const char *value)
GetLoggingConfigurationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetLoggingConfigurationResult & WithDestinationConfiguration(DestinationConfiguration &&value)
GetLoggingConfigurationResult & WithRequestId(const char *value)
GetLoggingConfigurationResult & WithId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IVSCHAT_API GetLoggingConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue