AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 LoggingConfigurationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template<typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 LoggingConfigurationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
76 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
77 template<typename CreateTimeT = Aws::Utils::DateTime>
78 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
79 template<typename CreateTimeT = Aws::Utils::DateTime>
80 LoggingConfigurationSummary& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
82
84
88 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
89 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
90 template<typename UpdateTimeT = Aws::Utils::DateTime>
91 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
92 template<typename UpdateTimeT = Aws::Utils::DateTime>
93 LoggingConfigurationSummary& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
95
97
100 inline const Aws::String& GetName() const { return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 template<typename NameT = Aws::String>
103 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
104 template<typename NameT = Aws::String>
105 LoggingConfigurationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
107
109
113 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
114 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
115 template<typename DestinationConfigurationT = DestinationConfiguration>
116 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
117 template<typename DestinationConfigurationT = DestinationConfiguration>
118 LoggingConfigurationSummary& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
120
122
126 inline LoggingConfigurationState GetState() const { return m_state; }
127 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
128 inline void SetState(LoggingConfigurationState value) { m_stateHasBeenSet = true; m_state = value; }
131
133
142 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
143 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
144 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
146 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
147 LoggingConfigurationSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
148 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
149 LoggingConfigurationSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
150 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
151 }
153 private:
154
155 Aws::String m_arn;
156 bool m_arnHasBeenSet = false;
157
158 Aws::String m_id;
159 bool m_idHasBeenSet = false;
160
161 Aws::Utils::DateTime m_createTime{};
162 bool m_createTimeHasBeenSet = false;
163
164 Aws::Utils::DateTime m_updateTime{};
165 bool m_updateTimeHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 DestinationConfiguration m_destinationConfiguration;
171 bool m_destinationConfigurationHasBeenSet = false;
172
174 bool m_stateHasBeenSet = false;
175
177 bool m_tagsHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace ivschat
182} // namespace Aws
LoggingConfigurationSummary & WithId(IdT &&value)
AWS_IVSCHAT_API LoggingConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
LoggingConfigurationSummary & WithState(LoggingConfigurationState value)
LoggingConfigurationSummary & WithArn(ArnT &&value)
LoggingConfigurationSummary & WithUpdateTime(UpdateTimeT &&value)
LoggingConfigurationSummary & WithCreateTime(CreateTimeT &&value)
AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const
LoggingConfigurationSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_IVSCHAT_API LoggingConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DestinationConfiguration & GetDestinationConfiguration() const
LoggingConfigurationSummary & WithName(NameT &&value)
LoggingConfigurationSummary & WithTags(TagsT &&value)
LoggingConfigurationSummary & WithDestinationConfiguration(DestinationConfigurationT &&value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IVSCHAT_API LoggingConfigurationSummary()=default
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