AWS SDK for C++  0.14.3
AWS SDK for C++
GetIdentityMailFromDomainAttributesRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/email/SES_EXPORTS.h>
17 #include <aws/email/SESRequest.h>
20 
21 namespace Aws
22 {
23 namespace SES
24 {
25 namespace Model
26 {
27 
36  {
37  public:
39  Aws::String SerializePayload() const override;
40 
44  inline const Aws::Vector<Aws::String>& GetIdentities() const{ return m_identities; }
45 
49  inline void SetIdentities(const Aws::Vector<Aws::String>& value) { m_identitiesHasBeenSet = true; m_identities = value; }
50 
54  inline void SetIdentities(Aws::Vector<Aws::String>&& value) { m_identitiesHasBeenSet = true; m_identities = value; }
55 
59  inline GetIdentityMailFromDomainAttributesRequest& WithIdentities(const Aws::Vector<Aws::String>& value) { SetIdentities(value); return *this;}
60 
64  inline GetIdentityMailFromDomainAttributesRequest& WithIdentities(Aws::Vector<Aws::String>&& value) { SetIdentities(value); return *this;}
65 
69  inline GetIdentityMailFromDomainAttributesRequest& AddIdentities(const Aws::String& value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
70 
74  inline GetIdentityMailFromDomainAttributesRequest& AddIdentities(Aws::String&& value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
75 
79  inline GetIdentityMailFromDomainAttributesRequest& AddIdentities(const char* value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
80 
81  private:
82  Aws::Vector<Aws::String> m_identities;
83  bool m_identitiesHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace SES
88 } // namespace Aws
GetIdentityMailFromDomainAttributesRequest & AddIdentities(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
GetIdentityMailFromDomainAttributesRequest & WithIdentities(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetIdentityMailFromDomainAttributesRequest & AddIdentities(Aws::String &&value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:37
GetIdentityMailFromDomainAttributesRequest & AddIdentities(const char *value)
GetIdentityMailFromDomainAttributesRequest & WithIdentities(const Aws::Vector< Aws::String > &value)
JSON (JavaScript Object Notation).