AWS SDK for C++  1.8.129
AWS SDK for C++
GetIdentityNotificationAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SES
16 {
17 namespace Model
18 {
19 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "GetIdentityNotificationAttributes"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  protected:
43  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44 
45  public:
46 
53  inline const Aws::Vector<Aws::String>& GetIdentities() const{ return m_identities; }
54 
61  inline bool IdentitiesHasBeenSet() const { return m_identitiesHasBeenSet; }
62 
69  inline void SetIdentities(const Aws::Vector<Aws::String>& value) { m_identitiesHasBeenSet = true; m_identities = value; }
70 
77  inline void SetIdentities(Aws::Vector<Aws::String>&& value) { m_identitiesHasBeenSet = true; m_identities = std::move(value); }
78 
85  inline GetIdentityNotificationAttributesRequest& WithIdentities(const Aws::Vector<Aws::String>& value) { SetIdentities(value); return *this;}
86 
93  inline GetIdentityNotificationAttributesRequest& WithIdentities(Aws::Vector<Aws::String>&& value) { SetIdentities(std::move(value)); return *this;}
94 
101  inline GetIdentityNotificationAttributesRequest& AddIdentities(const Aws::String& value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
102 
109  inline GetIdentityNotificationAttributesRequest& AddIdentities(Aws::String&& value) { m_identitiesHasBeenSet = true; m_identities.push_back(std::move(value)); return *this; }
110 
117  inline GetIdentityNotificationAttributesRequest& AddIdentities(const char* value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_identities;
122  bool m_identitiesHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace SES
127 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::GetIdentityNotificationAttributesRequest::WithIdentities
GetIdentityNotificationAttributesRequest & WithIdentities(Aws::Vector< Aws::String > &&value)
Definition: GetIdentityNotificationAttributesRequest.h:93
Aws::SES::Model::GetIdentityNotificationAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::GetIdentityNotificationAttributesRequest::AddIdentities
GetIdentityNotificationAttributesRequest & AddIdentities(Aws::String &&value)
Definition: GetIdentityNotificationAttributesRequest.h:109
Aws::SES::Model::GetIdentityNotificationAttributesRequest::GetIdentityNotificationAttributesRequest
GetIdentityNotificationAttributesRequest()
Aws::SES::Model::GetIdentityNotificationAttributesRequest::SetIdentities
void SetIdentities(const Aws::Vector< Aws::String > &value)
Definition: GetIdentityNotificationAttributesRequest.h:69
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::GetIdentityNotificationAttributesRequest::IdentitiesHasBeenSet
bool IdentitiesHasBeenSet() const
Definition: GetIdentityNotificationAttributesRequest.h:61
AWSVector.h
Aws::SES::Model::GetIdentityNotificationAttributesRequest::SetIdentities
void SetIdentities(Aws::Vector< Aws::String > &&value)
Definition: GetIdentityNotificationAttributesRequest.h:77
Aws::SES::Model::GetIdentityNotificationAttributesRequest::WithIdentities
GetIdentityNotificationAttributesRequest & WithIdentities(const Aws::Vector< Aws::String > &value)
Definition: GetIdentityNotificationAttributesRequest.h:85
SESRequest.h
Aws::SES::Model::GetIdentityNotificationAttributesRequest::AddIdentities
GetIdentityNotificationAttributesRequest & AddIdentities(const char *value)
Definition: GetIdentityNotificationAttributesRequest.h:117
Aws::SES::Model::GetIdentityNotificationAttributesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::GetIdentityNotificationAttributesRequest::AddIdentities
GetIdentityNotificationAttributesRequest & AddIdentities(const Aws::String &value)
Definition: GetIdentityNotificationAttributesRequest.h:101
Aws::SES::Model::GetIdentityNotificationAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetIdentityNotificationAttributesRequest.h:38
Aws::SES::Model::GetIdentityNotificationAttributesRequest::GetIdentities
const Aws::Vector< Aws::String > & GetIdentities() const
Definition: GetIdentityNotificationAttributesRequest.h:53
Aws::SES::Model::GetIdentityNotificationAttributesRequest
Definition: GetIdentityNotificationAttributesRequest.h:30