AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCidrCollectionResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/CidrCollection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Route53
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ROUTE53_API CreateCidrCollectionResult();
34
35
37
40 inline const CidrCollection& GetCollection() const{ return m_collection; }
41 inline void SetCollection(const CidrCollection& value) { m_collection = value; }
42 inline void SetCollection(CidrCollection&& value) { m_collection = std::move(value); }
43 inline CreateCidrCollectionResult& WithCollection(const CidrCollection& value) { SetCollection(value); return *this;}
44 inline CreateCidrCollectionResult& WithCollection(CidrCollection&& value) { SetCollection(std::move(value)); return *this;}
46
48
51 inline const Aws::String& GetLocation() const{ return m_location; }
52 inline void SetLocation(const Aws::String& value) { m_location = value; }
53 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
54 inline void SetLocation(const char* value) { m_location.assign(value); }
55 inline CreateCidrCollectionResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
56 inline CreateCidrCollectionResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
57 inline CreateCidrCollectionResult& WithLocation(const char* value) { SetLocation(value); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline CreateCidrCollectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline CreateCidrCollectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline CreateCidrCollectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 CidrCollection m_collection;
73
74 Aws::String m_location;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace Route53
81} // namespace Aws
AWS_ROUTE53_API CreateCidrCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCidrCollectionResult & WithLocation(const Aws::String &value)
CreateCidrCollectionResult & WithLocation(const char *value)
AWS_ROUTE53_API CreateCidrCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCidrCollectionResult & WithRequestId(Aws::String &&value)
CreateCidrCollectionResult & WithRequestId(const char *value)
CreateCidrCollectionResult & WithCollection(CidrCollection &&value)
CreateCidrCollectionResult & WithLocation(Aws::String &&value)
CreateCidrCollectionResult & WithRequestId(const Aws::String &value)
CreateCidrCollectionResult & WithCollection(const CidrCollection &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument