AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoggingConfigurationSummary.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ivschat
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_IVSCHAT_API LoggingConfigurationSummary();
42 AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline LoggingConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline LoggingConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline LoggingConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
64 inline const Aws::String& GetId() const{ return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
67 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
68 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 inline LoggingConfigurationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline LoggingConfigurationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline LoggingConfigurationSummary& WithId(const char* value) { SetId(value); return *this;}
73
75
79 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
80 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
81 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
82 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
84 inline LoggingConfigurationSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
93 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
94 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
95 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
97 inline LoggingConfigurationSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetName() const{ return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
107 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
108 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
109 inline LoggingConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
110 inline LoggingConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 inline LoggingConfigurationSummary& WithName(const char* value) { SetName(value); return *this;}
113
115
119 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
120 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
121 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
122 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
126
128
132 inline const LoggingConfigurationState& GetState() const{ return m_state; }
133 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
134 inline void SetState(const LoggingConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; }
135 inline void SetState(LoggingConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
136 inline LoggingConfigurationSummary& WithState(const LoggingConfigurationState& value) { SetState(value); return *this;}
137 inline LoggingConfigurationSummary& WithState(LoggingConfigurationState&& value) { SetState(std::move(value)); return *this;}
139
141
150 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
151 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
152 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
153 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
155 inline LoggingConfigurationSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
156 inline LoggingConfigurationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
157 inline LoggingConfigurationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
158 inline LoggingConfigurationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
159 inline LoggingConfigurationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
160 inline LoggingConfigurationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
161 inline LoggingConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
162 inline LoggingConfigurationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
164 private:
165
166 Aws::String m_arn;
167 bool m_arnHasBeenSet = false;
168
169 Aws::String m_id;
170 bool m_idHasBeenSet = false;
171
172 Aws::Utils::DateTime m_createTime;
173 bool m_createTimeHasBeenSet = false;
174
175 Aws::Utils::DateTime m_updateTime;
176 bool m_updateTimeHasBeenSet = false;
177
178 Aws::String m_name;
179 bool m_nameHasBeenSet = false;
180
181 DestinationConfiguration m_destinationConfiguration;
182 bool m_destinationConfigurationHasBeenSet = false;
183
185 bool m_stateHasBeenSet = false;
186
188 bool m_tagsHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace ivschat
193} // namespace Aws
LoggingConfigurationSummary & WithCreateTime(Aws::Utils::DateTime &&value)
LoggingConfigurationSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
LoggingConfigurationSummary & AddTags(Aws::String &&key, Aws::String &&value)
LoggingConfigurationSummary & WithArn(const char *value)
LoggingConfigurationSummary & WithCreateTime(const Aws::Utils::DateTime &value)
LoggingConfigurationSummary & WithDestinationConfiguration(DestinationConfiguration &&value)
AWS_IVSCHAT_API LoggingConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
LoggingConfigurationSummary & AddTags(const Aws::String &key, Aws::String &&value)
LoggingConfigurationSummary & AddTags(const Aws::String &key, const Aws::String &value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
LoggingConfigurationSummary & AddTags(Aws::String &&key, const char *value)
LoggingConfigurationSummary & WithState(const LoggingConfigurationState &value)
LoggingConfigurationSummary & WithId(const char *value)
LoggingConfigurationSummary & WithName(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
LoggingConfigurationSummary & AddTags(const char *key, Aws::String &&value)
LoggingConfigurationSummary & WithDestinationConfiguration(const DestinationConfiguration &value)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
LoggingConfigurationSummary & WithId(Aws::String &&value)
LoggingConfigurationSummary & WithArn(const Aws::String &value)
LoggingConfigurationSummary & AddTags(Aws::String &&key, const Aws::String &value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
AWS_IVSCHAT_API LoggingConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LoggingConfigurationSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
LoggingConfigurationSummary & WithArn(Aws::String &&value)
const DestinationConfiguration & GetDestinationConfiguration() const
LoggingConfigurationSummary & WithState(LoggingConfigurationState &&value)
LoggingConfigurationSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
void SetState(const LoggingConfigurationState &value)
LoggingConfigurationSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const LoggingConfigurationState & GetState() const
LoggingConfigurationSummary & AddTags(const char *key, const char *value)
void SetDestinationConfiguration(DestinationConfiguration &&value)
LoggingConfigurationSummary & WithId(const Aws::String &value)
LoggingConfigurationSummary & WithName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
LoggingConfigurationSummary & WithName(const Aws::String &value)
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