AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AggregationAuthorization.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONFIGSERVICE_API AggregationAuthorization() = default;
37 AWS_CONFIGSERVICE_API AggregationAuthorization(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAggregationAuthorizationArn() const { return m_aggregationAuthorizationArn; }
47 inline bool AggregationAuthorizationArnHasBeenSet() const { return m_aggregationAuthorizationArnHasBeenSet; }
48 template<typename AggregationAuthorizationArnT = Aws::String>
49 void SetAggregationAuthorizationArn(AggregationAuthorizationArnT&& value) { m_aggregationAuthorizationArnHasBeenSet = true; m_aggregationAuthorizationArn = std::forward<AggregationAuthorizationArnT>(value); }
50 template<typename AggregationAuthorizationArnT = Aws::String>
51 AggregationAuthorization& WithAggregationAuthorizationArn(AggregationAuthorizationArnT&& value) { SetAggregationAuthorizationArn(std::forward<AggregationAuthorizationArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetAuthorizedAccountId() const { return m_authorizedAccountId; }
59 inline bool AuthorizedAccountIdHasBeenSet() const { return m_authorizedAccountIdHasBeenSet; }
60 template<typename AuthorizedAccountIdT = Aws::String>
61 void SetAuthorizedAccountId(AuthorizedAccountIdT&& value) { m_authorizedAccountIdHasBeenSet = true; m_authorizedAccountId = std::forward<AuthorizedAccountIdT>(value); }
62 template<typename AuthorizedAccountIdT = Aws::String>
63 AggregationAuthorization& WithAuthorizedAccountId(AuthorizedAccountIdT&& value) { SetAuthorizedAccountId(std::forward<AuthorizedAccountIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetAuthorizedAwsRegion() const { return m_authorizedAwsRegion; }
71 inline bool AuthorizedAwsRegionHasBeenSet() const { return m_authorizedAwsRegionHasBeenSet; }
72 template<typename AuthorizedAwsRegionT = Aws::String>
73 void SetAuthorizedAwsRegion(AuthorizedAwsRegionT&& value) { m_authorizedAwsRegionHasBeenSet = true; m_authorizedAwsRegion = std::forward<AuthorizedAwsRegionT>(value); }
74 template<typename AuthorizedAwsRegionT = Aws::String>
75 AggregationAuthorization& WithAuthorizedAwsRegion(AuthorizedAwsRegionT&& value) { SetAuthorizedAwsRegion(std::forward<AuthorizedAwsRegionT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
83 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
84 template<typename CreationTimeT = Aws::Utils::DateTime>
85 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
86 template<typename CreationTimeT = Aws::Utils::DateTime>
87 AggregationAuthorization& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
89 private:
90
91 Aws::String m_aggregationAuthorizationArn;
92 bool m_aggregationAuthorizationArnHasBeenSet = false;
93
94 Aws::String m_authorizedAccountId;
95 bool m_authorizedAccountIdHasBeenSet = false;
96
97 Aws::String m_authorizedAwsRegion;
98 bool m_authorizedAwsRegionHasBeenSet = false;
99
100 Aws::Utils::DateTime m_creationTime{};
101 bool m_creationTimeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace ConfigService
106} // namespace Aws
AWS_CONFIGSERVICE_API AggregationAuthorization()=default
void SetAggregationAuthorizationArn(AggregationAuthorizationArnT &&value)
AWS_CONFIGSERVICE_API AggregationAuthorization(Aws::Utils::Json::JsonView jsonValue)
AggregationAuthorization & WithAuthorizedAwsRegion(AuthorizedAwsRegionT &&value)
AggregationAuthorization & WithAuthorizedAccountId(AuthorizedAccountIdT &&value)
AggregationAuthorization & WithAggregationAuthorizationArn(AggregationAuthorizationArnT &&value)
AWS_CONFIGSERVICE_API AggregationAuthorization & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregationAuthorization & WithCreationTime(CreationTimeT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue