AWS SDK for C++  0.14.3
AWS SDK for C++
GetIdentityMailFromDomainAttributesResult.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>
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace SES
35 {
36 namespace Model
37 {
42  {
43  public:
47 
51  inline const Aws::Map<Aws::String, IdentityMailFromDomainAttributes>& GetMailFromDomainAttributes() const{ return m_mailFromDomainAttributes; }
52 
56  inline void SetMailFromDomainAttributes(const Aws::Map<Aws::String, IdentityMailFromDomainAttributes>& value) { m_mailFromDomainAttributes = value; }
57 
61  inline void SetMailFromDomainAttributes(Aws::Map<Aws::String, IdentityMailFromDomainAttributes>&& value) { m_mailFromDomainAttributes = value; }
62 
67 
72 
76  inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const Aws::String& key, const IdentityMailFromDomainAttributes& value) { m_mailFromDomainAttributes[key] = value; return *this; }
77 
81  inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(Aws::String&& key, const IdentityMailFromDomainAttributes& value) { m_mailFromDomainAttributes[key] = value; return *this; }
82 
86  inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const Aws::String& key, IdentityMailFromDomainAttributes&& value) { m_mailFromDomainAttributes[key] = value; return *this; }
87 
91  inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(Aws::String&& key, IdentityMailFromDomainAttributes&& value) { m_mailFromDomainAttributes[key] = value; return *this; }
92 
96  inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const char* key, IdentityMailFromDomainAttributes&& value) { m_mailFromDomainAttributes[key] = value; return *this; }
97 
101  inline GetIdentityMailFromDomainAttributesResult& AddMailFromDomainAttributes(const char* key, const IdentityMailFromDomainAttributes& value) { m_mailFromDomainAttributes[key] = value; return *this; }
102 
103 
104  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
105 
106 
107  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
108 
109 
110  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
111 
112 
113  inline GetIdentityMailFromDomainAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
114 
115 
116  inline GetIdentityMailFromDomainAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
117 
118  private:
120  ResponseMetadata m_responseMetadata;
121  };
122 
123 } // namespace Model
124 } // namespace SES
125 } // namespace Aws
void SetMailFromDomainAttributes(const Aws::Map< Aws::String, IdentityMailFromDomainAttributes > &value)
GetIdentityMailFromDomainAttributesResult & AddMailFromDomainAttributes(Aws::String &&key, const IdentityMailFromDomainAttributes &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
GetIdentityMailFromDomainAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
GetIdentityMailFromDomainAttributesResult & AddMailFromDomainAttributes(Aws::String &&key, IdentityMailFromDomainAttributes &&value)
GetIdentityMailFromDomainAttributesResult & AddMailFromDomainAttributes(const char *key, const IdentityMailFromDomainAttributes &value)
void SetMailFromDomainAttributes(Aws::Map< Aws::String, IdentityMailFromDomainAttributes > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetIdentityMailFromDomainAttributesResult & AddMailFromDomainAttributes(const Aws::String &key, const IdentityMailFromDomainAttributes &value)
const Aws::Map< Aws::String, IdentityMailFromDomainAttributes > & GetMailFromDomainAttributes() const
GetIdentityMailFromDomainAttributesResult & WithMailFromDomainAttributes(const Aws::Map< Aws::String, IdentityMailFromDomainAttributes > &value)
GetIdentityMailFromDomainAttributesResult & AddMailFromDomainAttributes(const Aws::String &key, IdentityMailFromDomainAttributes &&value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:37
GetIdentityMailFromDomainAttributesResult & WithMailFromDomainAttributes(Aws::Map< Aws::String, IdentityMailFromDomainAttributes > &&value)
GetIdentityMailFromDomainAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
JSON (JavaScript Object Notation).
GetIdentityMailFromDomainAttributesResult & AddMailFromDomainAttributes(const char *key, IdentityMailFromDomainAttributes &&value)