AWS SDK for C++  1.9.45
AWS SDK for C++
PutAccountConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
8 #include <aws/acm/ACMRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ACM
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "PutAccountConfiguration"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const ExpiryEventsConfiguration& GetExpiryEvents() const{ return m_expiryEvents; }
42 
46  inline bool ExpiryEventsHasBeenSet() const { return m_expiryEventsHasBeenSet; }
47 
51  inline void SetExpiryEvents(const ExpiryEventsConfiguration& value) { m_expiryEventsHasBeenSet = true; m_expiryEvents = value; }
52 
56  inline void SetExpiryEvents(ExpiryEventsConfiguration&& value) { m_expiryEventsHasBeenSet = true; m_expiryEvents = std::move(value); }
57 
61  inline PutAccountConfigurationRequest& WithExpiryEvents(const ExpiryEventsConfiguration& value) { SetExpiryEvents(value); return *this;}
62 
66  inline PutAccountConfigurationRequest& WithExpiryEvents(ExpiryEventsConfiguration&& value) { SetExpiryEvents(std::move(value)); return *this;}
67 
68 
77  inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
78 
87  inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
88 
97  inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
98 
107  inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
108 
117  inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
118 
127  inline PutAccountConfigurationRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
128 
137  inline PutAccountConfigurationRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
138 
147  inline PutAccountConfigurationRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
148 
149  private:
150 
151  ExpiryEventsConfiguration m_expiryEvents;
152  bool m_expiryEventsHasBeenSet;
153 
154  Aws::String m_idempotencyToken;
155  bool m_idempotencyTokenHasBeenSet;
156  };
157 
158 } // namespace Model
159 } // namespace ACM
160 } // namespace Aws
Aws::ACM::Model::PutAccountConfigurationRequest::SetIdempotencyToken
void SetIdempotencyToken(const char *value)
Definition: PutAccountConfigurationRequest.h:117
Aws::ACM::Model::PutAccountConfigurationRequest::GetExpiryEvents
const ExpiryEventsConfiguration & GetExpiryEvents() const
Definition: PutAccountConfigurationRequest.h:41
ExpiryEventsConfiguration.h
Aws::ACM::Model::PutAccountConfigurationRequest::SetIdempotencyToken
void SetIdempotencyToken(const Aws::String &value)
Definition: PutAccountConfigurationRequest.h:97
Aws::ACM::Model::PutAccountConfigurationRequest::WithExpiryEvents
PutAccountConfigurationRequest & WithExpiryEvents(ExpiryEventsConfiguration &&value)
Definition: PutAccountConfigurationRequest.h:66
Aws::ACM::Model::PutAccountConfigurationRequest::WithExpiryEvents
PutAccountConfigurationRequest & WithExpiryEvents(const ExpiryEventsConfiguration &value)
Definition: PutAccountConfigurationRequest.h:61
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ACM::Model::ExpiryEventsConfiguration
Definition: ExpiryEventsConfiguration.h:31
Aws::ACM::Model::PutAccountConfigurationRequest::WithIdempotencyToken
PutAccountConfigurationRequest & WithIdempotencyToken(const char *value)
Definition: PutAccountConfigurationRequest.h:147
Aws::ACM::Model::PutAccountConfigurationRequest::IdempotencyTokenHasBeenSet
bool IdempotencyTokenHasBeenSet() const
Definition: PutAccountConfigurationRequest.h:87
Aws::ACM::Model::PutAccountConfigurationRequest::SetExpiryEvents
void SetExpiryEvents(const ExpiryEventsConfiguration &value)
Definition: PutAccountConfigurationRequest.h:51
Aws::ACM::ACMRequest
Definition: ACMRequest.h:17
Aws::ACM::Model::PutAccountConfigurationRequest::ExpiryEventsHasBeenSet
bool ExpiryEventsHasBeenSet() const
Definition: PutAccountConfigurationRequest.h:46
Aws::ACM::Model::PutAccountConfigurationRequest::SetExpiryEvents
void SetExpiryEvents(ExpiryEventsConfiguration &&value)
Definition: PutAccountConfigurationRequest.h:56
Aws::ACM::Model::PutAccountConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ACM::Model::PutAccountConfigurationRequest::SetIdempotencyToken
void SetIdempotencyToken(Aws::String &&value)
Definition: PutAccountConfigurationRequest.h:107
Aws::ACM::Model::PutAccountConfigurationRequest::WithIdempotencyToken
PutAccountConfigurationRequest & WithIdempotencyToken(Aws::String &&value)
Definition: PutAccountConfigurationRequest.h:137
AWSString.h
Aws::ACM::Model::PutAccountConfigurationRequest::WithIdempotencyToken
PutAccountConfigurationRequest & WithIdempotencyToken(const Aws::String &value)
Definition: PutAccountConfigurationRequest.h:127
ACMRequest.h
Aws::ACM::Model::PutAccountConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ACM::Model::PutAccountConfigurationRequest::GetIdempotencyToken
const Aws::String & GetIdempotencyToken() const
Definition: PutAccountConfigurationRequest.h:77
ACM_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::PutAccountConfigurationRequest::PutAccountConfigurationRequest
PutAccountConfigurationRequest()
Aws::ACM::Model::PutAccountConfigurationRequest
Definition: PutAccountConfigurationRequest.h:23
Aws::ACM::Model::PutAccountConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutAccountConfigurationRequest.h:31