AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDomainNamesResult.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/cloudsearch/model/ResponseMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace CloudSearch
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CLOUDSEARCH_API ListDomainNamesResult();
41
42
44
47 inline const Aws::Map<Aws::String, Aws::String>& GetDomainNames() const{ return m_domainNames; }
48 inline void SetDomainNames(const Aws::Map<Aws::String, Aws::String>& value) { m_domainNames = value; }
49 inline void SetDomainNames(Aws::Map<Aws::String, Aws::String>&& value) { m_domainNames = std::move(value); }
52 inline ListDomainNamesResult& AddDomainNames(const Aws::String& key, const Aws::String& value) { m_domainNames.emplace(key, value); return *this; }
53 inline ListDomainNamesResult& AddDomainNames(Aws::String&& key, const Aws::String& value) { m_domainNames.emplace(std::move(key), value); return *this; }
54 inline ListDomainNamesResult& AddDomainNames(const Aws::String& key, Aws::String&& value) { m_domainNames.emplace(key, std::move(value)); return *this; }
55 inline ListDomainNamesResult& AddDomainNames(Aws::String&& key, Aws::String&& value) { m_domainNames.emplace(std::move(key), std::move(value)); return *this; }
56 inline ListDomainNamesResult& AddDomainNames(const char* key, Aws::String&& value) { m_domainNames.emplace(key, std::move(value)); return *this; }
57 inline ListDomainNamesResult& AddDomainNames(Aws::String&& key, const char* value) { m_domainNames.emplace(std::move(key), value); return *this; }
58 inline ListDomainNamesResult& AddDomainNames(const char* key, const char* value) { m_domainNames.emplace(key, value); return *this; }
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
65 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
67 inline ListDomainNamesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
69 private:
70
72
73 ResponseMetadata m_responseMetadata;
74 };
75
76} // namespace Model
77} // namespace CloudSearch
78} // namespace Aws
ListDomainNamesResult & AddDomainNames(const char *key, Aws::String &&value)
ListDomainNamesResult & AddDomainNames(Aws::String &&key, const Aws::String &value)
ListDomainNamesResult & WithDomainNames(const Aws::Map< Aws::String, Aws::String > &value)
ListDomainNamesResult & AddDomainNames(Aws::String &&key, Aws::String &&value)
ListDomainNamesResult & WithResponseMetadata(const ResponseMetadata &value)
const ResponseMetadata & GetResponseMetadata() const
ListDomainNamesResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_CLOUDSEARCH_API ListDomainNamesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDSEARCH_API ListDomainNamesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetDomainNames(const Aws::Map< Aws::String, Aws::String > &value)
void SetDomainNames(Aws::Map< Aws::String, Aws::String > &&value)
ListDomainNamesResult & AddDomainNames(const Aws::String &key, Aws::String &&value)
ListDomainNamesResult & AddDomainNames(const char *key, const char *value)
ListDomainNamesResult & AddDomainNames(const Aws::String &key, const Aws::String &value)
ListDomainNamesResult & AddDomainNames(Aws::String &&key, const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
ListDomainNamesResult & WithDomainNames(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetDomainNames() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument