AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const CidrCollection& GetCollection() const { return m_collection; }
41 template<typename CollectionT = CidrCollection>
42 void SetCollection(CollectionT&& value) { m_collectionHasBeenSet = true; m_collection = std::forward<CollectionT>(value); }
43 template<typename CollectionT = CidrCollection>
44 CreateCidrCollectionResult& WithCollection(CollectionT&& value) { SetCollection(std::forward<CollectionT>(value)); return *this;}
46
48
51 inline const Aws::String& GetLocation() const { return m_location; }
52 template<typename LocationT = Aws::String>
53 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
54 template<typename LocationT = Aws::String>
55 CreateCidrCollectionResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 CreateCidrCollectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 CidrCollection m_collection;
69 bool m_collectionHasBeenSet = false;
70
71 Aws::String m_location;
72 bool m_locationHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Route53
80} // 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