AWS SDK for C++  1.9.157
AWS SDK for C++
CloudTrailProperties.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace AccessAnalyzer
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
48  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
49 
56  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
57 
64  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
65 
72  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
73 
80  inline CloudTrailProperties& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
81 
88  inline CloudTrailProperties& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
89 
90 
96  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
97 
103  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
104 
110  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
111 
117  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
118 
124  inline CloudTrailProperties& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
125 
131  inline CloudTrailProperties& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
132 
133 
138  inline const Aws::Vector<TrailProperties>& GetTrailProperties() const{ return m_trailProperties; }
139 
144  inline bool TrailPropertiesHasBeenSet() const { return m_trailPropertiesHasBeenSet; }
145 
150  inline void SetTrailProperties(const Aws::Vector<TrailProperties>& value) { m_trailPropertiesHasBeenSet = true; m_trailProperties = value; }
151 
156  inline void SetTrailProperties(Aws::Vector<TrailProperties>&& value) { m_trailPropertiesHasBeenSet = true; m_trailProperties = std::move(value); }
157 
162  inline CloudTrailProperties& WithTrailProperties(const Aws::Vector<TrailProperties>& value) { SetTrailProperties(value); return *this;}
163 
168  inline CloudTrailProperties& WithTrailProperties(Aws::Vector<TrailProperties>&& value) { SetTrailProperties(std::move(value)); return *this;}
169 
174  inline CloudTrailProperties& AddTrailProperties(const TrailProperties& value) { m_trailPropertiesHasBeenSet = true; m_trailProperties.push_back(value); return *this; }
175 
180  inline CloudTrailProperties& AddTrailProperties(TrailProperties&& value) { m_trailPropertiesHasBeenSet = true; m_trailProperties.push_back(std::move(value)); return *this; }
181 
182  private:
183 
184  Aws::Utils::DateTime m_endTime;
185  bool m_endTimeHasBeenSet;
186 
187  Aws::Utils::DateTime m_startTime;
188  bool m_startTimeHasBeenSet;
189 
190  Aws::Vector<TrailProperties> m_trailProperties;
191  bool m_trailPropertiesHasBeenSet;
192  };
193 
194 } // namespace Model
195 } // namespace AccessAnalyzer
196 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::CloudTrailProperties::GetTrailProperties
const Aws::Vector< TrailProperties > & GetTrailProperties() const
Definition: CloudTrailProperties.h:138
DateTime.h
Aws::AccessAnalyzer::Model::CloudTrailProperties::AddTrailProperties
CloudTrailProperties & AddTrailProperties(TrailProperties &&value)
Definition: CloudTrailProperties.h:180
Aws::AccessAnalyzer::Model::CloudTrailProperties::SetTrailProperties
void SetTrailProperties(Aws::Vector< TrailProperties > &&value)
Definition: CloudTrailProperties.h:156
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AccessAnalyzer::Model::CloudTrailProperties::WithStartTime
CloudTrailProperties & WithStartTime(const Aws::Utils::DateTime &value)
Definition: CloudTrailProperties.h:124
AWSVector.h
Aws::AccessAnalyzer::Model::CloudTrailProperties::WithEndTime
CloudTrailProperties & WithEndTime(const Aws::Utils::DateTime &value)
Definition: CloudTrailProperties.h:80
Aws::AccessAnalyzer::Model::CloudTrailProperties::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: CloudTrailProperties.h:110
Aws::AccessAnalyzer::Model::CloudTrailProperties::WithStartTime
CloudTrailProperties & WithStartTime(Aws::Utils::DateTime &&value)
Definition: CloudTrailProperties.h:131
Aws::AccessAnalyzer::Model::CloudTrailProperties::WithTrailProperties
CloudTrailProperties & WithTrailProperties(Aws::Vector< TrailProperties > &&value)
Definition: CloudTrailProperties.h:168
Aws::AccessAnalyzer::Model::CloudTrailProperties::WithTrailProperties
CloudTrailProperties & WithTrailProperties(const Aws::Vector< TrailProperties > &value)
Definition: CloudTrailProperties.h:162
Aws::AccessAnalyzer::Model::CloudTrailProperties::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: CloudTrailProperties.h:56
Aws::AccessAnalyzer::Model::CloudTrailProperties::WithEndTime
CloudTrailProperties & WithEndTime(Aws::Utils::DateTime &&value)
Definition: CloudTrailProperties.h:88
TrailProperties.h
Aws::AccessAnalyzer::Model::CloudTrailProperties::AddTrailProperties
CloudTrailProperties & AddTrailProperties(const TrailProperties &value)
Definition: CloudTrailProperties.h:174
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AccessAnalyzer::Model::CloudTrailProperties::operator=
CloudTrailProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::CloudTrailProperties
Definition: CloudTrailProperties.h:34
Aws::AccessAnalyzer::Model::CloudTrailProperties::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: CloudTrailProperties.h:64
Aws::AccessAnalyzer::Model::CloudTrailProperties::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: CloudTrailProperties.h:117
Aws::AccessAnalyzer::Model::TrailProperties
Definition: TrailProperties.h:34
Aws::AccessAnalyzer::Model::CloudTrailProperties::SetTrailProperties
void SetTrailProperties(const Aws::Vector< TrailProperties > &value)
Definition: CloudTrailProperties.h:150
Aws::AccessAnalyzer::Model::CloudTrailProperties::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: CloudTrailProperties.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::CloudTrailProperties::TrailPropertiesHasBeenSet
bool TrailPropertiesHasBeenSet() const
Definition: CloudTrailProperties.h:144
Aws::AccessAnalyzer::Model::CloudTrailProperties::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: CloudTrailProperties.h:72
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::CloudTrailProperties::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: CloudTrailProperties.h:96
Aws::AccessAnalyzer::Model::CloudTrailProperties::CloudTrailProperties
CloudTrailProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::CloudTrailProperties::CloudTrailProperties
CloudTrailProperties()
Aws::AccessAnalyzer::Model::CloudTrailProperties::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: CloudTrailProperties.h:103
Aws::AccessAnalyzer::Model::CloudTrailProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const