AWS SDK for C++  0.14.3
AWS SDK for C++
GetIdentityDkimAttributesRequest.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 
38  {
39  public:
41  Aws::String SerializePayload() const override;
42 
47  inline const Aws::Vector<Aws::String>& GetIdentities() const{ return m_identities; }
48 
53  inline void SetIdentities(const Aws::Vector<Aws::String>& value) { m_identitiesHasBeenSet = true; m_identities = value; }
54 
59  inline void SetIdentities(Aws::Vector<Aws::String>&& value) { m_identitiesHasBeenSet = true; m_identities = value; }
60 
65  inline GetIdentityDkimAttributesRequest& WithIdentities(const Aws::Vector<Aws::String>& value) { SetIdentities(value); return *this;}
66 
71  inline GetIdentityDkimAttributesRequest& WithIdentities(Aws::Vector<Aws::String>&& value) { SetIdentities(value); return *this;}
72 
77  inline GetIdentityDkimAttributesRequest& AddIdentities(const Aws::String& value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
78 
83  inline GetIdentityDkimAttributesRequest& AddIdentities(Aws::String&& value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
84 
89  inline GetIdentityDkimAttributesRequest& AddIdentities(const char* value) { m_identitiesHasBeenSet = true; m_identities.push_back(value); return *this; }
90 
91  private:
92  Aws::Vector<Aws::String> m_identities;
93  bool m_identitiesHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace SES
98 } // namespace Aws
GetIdentityDkimAttributesRequest & AddIdentities(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
GetIdentityDkimAttributesRequest & AddIdentities(const char *value)
GetIdentityDkimAttributesRequest & WithIdentities(Aws::Vector< Aws::String > &&value)
void SetIdentities(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Vector< Aws::String > & GetIdentities() const
#define AWS_SES_API
Definition: SES_EXPORTS.h:37
GetIdentityDkimAttributesRequest & WithIdentities(const Aws::Vector< Aws::String > &value)
JSON (JavaScript Object Notation).
GetIdentityDkimAttributesRequest & AddIdentities(Aws::String &&value)