AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAccountConfigurationRequest.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/ACMRequest.h>
9#include <aws/acm/model/ExpiryEventsConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ACM
16{
17namespace 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_ACM_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const ExpiryEventsConfiguration& GetExpiryEvents() const{ return m_expiryEvents; }
43 inline bool ExpiryEventsHasBeenSet() const { return m_expiryEventsHasBeenSet; }
44 inline void SetExpiryEvents(const ExpiryEventsConfiguration& value) { m_expiryEventsHasBeenSet = true; m_expiryEvents = value; }
45 inline void SetExpiryEvents(ExpiryEventsConfiguration&& value) { m_expiryEventsHasBeenSet = true; m_expiryEvents = std::move(value); }
49
51
59 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
60 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
61 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
62 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
63 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
65 inline PutAccountConfigurationRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
66 inline PutAccountConfigurationRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
68 private:
69
70 ExpiryEventsConfiguration m_expiryEvents;
71 bool m_expiryEventsHasBeenSet = false;
72
73 Aws::String m_idempotencyToken;
74 bool m_idempotencyTokenHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ACM
79} // namespace Aws
void SetExpiryEvents(const ExpiryEventsConfiguration &value)
PutAccountConfigurationRequest & WithExpiryEvents(ExpiryEventsConfiguration &&value)
PutAccountConfigurationRequest & WithIdempotencyToken(const Aws::String &value)
void SetExpiryEvents(ExpiryEventsConfiguration &&value)
PutAccountConfigurationRequest & WithExpiryEvents(const ExpiryEventsConfiguration &value)
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutAccountConfigurationRequest & WithIdempotencyToken(const char *value)
const ExpiryEventsConfiguration & GetExpiryEvents() const
PutAccountConfigurationRequest & WithIdempotencyToken(Aws::String &&value)
AWS_ACM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String