AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAggregationAuthorizationArn(const Aws::String& value) { m_aggregationAuthorizationArnHasBeenSet = true; m_aggregationAuthorizationArn = value; }
49 inline void SetAggregationAuthorizationArn(Aws::String&& value) { m_aggregationAuthorizationArnHasBeenSet = true; m_aggregationAuthorizationArn = std::move(value); }
50 inline void SetAggregationAuthorizationArn(const char* value) { m_aggregationAuthorizationArnHasBeenSet = true; m_aggregationAuthorizationArn.assign(value); }
55
57
60 inline const Aws::String& GetAuthorizedAccountId() const{ return m_authorizedAccountId; }
61 inline bool AuthorizedAccountIdHasBeenSet() const { return m_authorizedAccountIdHasBeenSet; }
62 inline void SetAuthorizedAccountId(const Aws::String& value) { m_authorizedAccountIdHasBeenSet = true; m_authorizedAccountId = value; }
63 inline void SetAuthorizedAccountId(Aws::String&& value) { m_authorizedAccountIdHasBeenSet = true; m_authorizedAccountId = std::move(value); }
64 inline void SetAuthorizedAccountId(const char* value) { m_authorizedAccountIdHasBeenSet = true; m_authorizedAccountId.assign(value); }
66 inline AggregationAuthorization& WithAuthorizedAccountId(Aws::String&& value) { SetAuthorizedAccountId(std::move(value)); return *this;}
67 inline AggregationAuthorization& WithAuthorizedAccountId(const char* value) { SetAuthorizedAccountId(value); return *this;}
69
71
74 inline const Aws::String& GetAuthorizedAwsRegion() const{ return m_authorizedAwsRegion; }
75 inline bool AuthorizedAwsRegionHasBeenSet() const { return m_authorizedAwsRegionHasBeenSet; }
76 inline void SetAuthorizedAwsRegion(const Aws::String& value) { m_authorizedAwsRegionHasBeenSet = true; m_authorizedAwsRegion = value; }
77 inline void SetAuthorizedAwsRegion(Aws::String&& value) { m_authorizedAwsRegionHasBeenSet = true; m_authorizedAwsRegion = std::move(value); }
78 inline void SetAuthorizedAwsRegion(const char* value) { m_authorizedAwsRegionHasBeenSet = true; m_authorizedAwsRegion.assign(value); }
80 inline AggregationAuthorization& WithAuthorizedAwsRegion(Aws::String&& value) { SetAuthorizedAwsRegion(std::move(value)); return *this;}
81 inline AggregationAuthorization& WithAuthorizedAwsRegion(const char* value) { SetAuthorizedAwsRegion(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
89 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
90 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
91 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline AggregationAuthorization& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_aggregationAuthorizationArn;
98 bool m_aggregationAuthorizationArnHasBeenSet = false;
99
100 Aws::String m_authorizedAccountId;
101 bool m_authorizedAccountIdHasBeenSet = false;
102
103 Aws::String m_authorizedAwsRegion;
104 bool m_authorizedAwsRegionHasBeenSet = false;
105
106 Aws::Utils::DateTime m_creationTime;
107 bool m_creationTimeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ConfigService
112} // namespace Aws
AggregationAuthorization & WithAuthorizedAwsRegion(Aws::String &&value)
AggregationAuthorization & WithAggregationAuthorizationArn(Aws::String &&value)
AWS_CONFIGSERVICE_API AggregationAuthorization(Aws::Utils::Json::JsonView jsonValue)
AggregationAuthorization & WithCreationTime(const Aws::Utils::DateTime &value)
AggregationAuthorization & WithAggregationAuthorizationArn(const char *value)
AggregationAuthorization & WithAggregationAuthorizationArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AggregationAuthorization & WithAuthorizedAccountId(const Aws::String &value)
AggregationAuthorization & WithCreationTime(Aws::Utils::DateTime &&value)
AggregationAuthorization & WithAuthorizedAccountId(const char *value)
AWS_CONFIGSERVICE_API AggregationAuthorization & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregationAuthorization & WithAuthorizedAwsRegion(const Aws::String &value)
AggregationAuthorization & WithAuthorizedAwsRegion(const char *value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AggregationAuthorization & WithAuthorizedAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue