AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
CreateCidrCollectionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/CidrCollection.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Route53 {
24namespace Model {
26 public:
27 AWS_ROUTE53_API CreateCidrCollectionResult() = default;
30
32
35 inline const CidrCollection& GetCollection() const { return m_collection; }
36 template <typename CollectionT = CidrCollection>
37 void SetCollection(CollectionT&& value) {
38 m_collectionHasBeenSet = true;
39 m_collection = std::forward<CollectionT>(value);
40 }
41 template <typename CollectionT = CidrCollection>
43 SetCollection(std::forward<CollectionT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetLocation() const { return m_location; }
53 template <typename LocationT = Aws::String>
54 void SetLocation(LocationT&& value) {
55 m_locationHasBeenSet = true;
56 m_location = std::forward<LocationT>(value);
57 }
58 template <typename LocationT = Aws::String>
60 SetLocation(std::forward<LocationT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 CidrCollection m_collection;
83
84 Aws::String m_location;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_collectionHasBeenSet = false;
89 bool m_locationHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Route53
95} // namespace Aws
CreateCidrCollectionResult & WithCollection(CollectionT &&value)
AWS_ROUTE53_API CreateCidrCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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