AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
CreateCidrCollectionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9#include <aws/route53/model/CidrCollection.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace Route53 {
23namespace Model {
25 public:
26 AWS_ROUTE53_API CreateCidrCollectionResult() = default;
29
31
34 inline const CidrCollection& GetCollection() const { return m_collection; }
35 template <typename CollectionT = CidrCollection>
36 void SetCollection(CollectionT&& value) {
37 m_collectionHasBeenSet = true;
38 m_collection = std::forward<CollectionT>(value);
39 }
40 template <typename CollectionT = CidrCollection>
42 SetCollection(std::forward<CollectionT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetLocation() const { return m_location; }
52 template <typename LocationT = Aws::String>
53 void SetLocation(LocationT&& value) {
54 m_locationHasBeenSet = true;
55 m_location = std::forward<LocationT>(value);
56 }
57 template <typename LocationT = Aws::String>
59 SetLocation(std::forward<LocationT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 CidrCollection m_collection;
80 bool m_collectionHasBeenSet = false;
81
82 Aws::String m_location;
83 bool m_locationHasBeenSet = false;
84
85 Aws::String m_requestId;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace Route53
91} // namespace Aws
CreateCidrCollectionResult & WithCollection(CollectionT &&value)
AWS_ROUTE53_API CreateCidrCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ROUTE53_API CreateCidrCollectionResult()=default
AWS_ROUTE53_API CreateCidrCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCidrCollectionResult & WithLocation(LocationT &&value)
CreateCidrCollectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument