AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTrafficPoliciesResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/TrafficPolicySummary.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 Route53
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ROUTE53_API ListTrafficPoliciesResult();
41
42
44
48 inline const Aws::Vector<TrafficPolicySummary>& GetTrafficPolicySummaries() const{ return m_trafficPolicySummaries; }
49 inline void SetTrafficPolicySummaries(const Aws::Vector<TrafficPolicySummary>& value) { m_trafficPolicySummaries = value; }
50 inline void SetTrafficPolicySummaries(Aws::Vector<TrafficPolicySummary>&& value) { m_trafficPolicySummaries = std::move(value); }
53 inline ListTrafficPoliciesResult& AddTrafficPolicySummaries(const TrafficPolicySummary& value) { m_trafficPolicySummaries.push_back(value); return *this; }
54 inline ListTrafficPoliciesResult& AddTrafficPolicySummaries(TrafficPolicySummary&& value) { m_trafficPolicySummaries.push_back(std::move(value)); return *this; }
56
58
65 inline bool GetIsTruncated() const{ return m_isTruncated; }
66 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
67 inline ListTrafficPoliciesResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
69
71
76 inline const Aws::String& GetTrafficPolicyIdMarker() const{ return m_trafficPolicyIdMarker; }
77 inline void SetTrafficPolicyIdMarker(const Aws::String& value) { m_trafficPolicyIdMarker = value; }
78 inline void SetTrafficPolicyIdMarker(Aws::String&& value) { m_trafficPolicyIdMarker = std::move(value); }
79 inline void SetTrafficPolicyIdMarker(const char* value) { m_trafficPolicyIdMarker.assign(value); }
82 inline ListTrafficPoliciesResult& WithTrafficPolicyIdMarker(const char* value) { SetTrafficPolicyIdMarker(value); return *this;}
84
86
90 inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
91 inline void SetMaxItems(const Aws::String& value) { m_maxItems = value; }
92 inline void SetMaxItems(Aws::String&& value) { m_maxItems = std::move(value); }
93 inline void SetMaxItems(const char* value) { m_maxItems.assign(value); }
94 inline ListTrafficPoliciesResult& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
95 inline ListTrafficPoliciesResult& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
96 inline ListTrafficPoliciesResult& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline ListTrafficPoliciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline ListTrafficPoliciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline ListTrafficPoliciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::Vector<TrafficPolicySummary> m_trafficPolicySummaries;
112
113 bool m_isTruncated;
114
115 Aws::String m_trafficPolicyIdMarker;
116
117 Aws::String m_maxItems;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace Route53
124} // namespace Aws
ListTrafficPoliciesResult & WithMaxItems(const Aws::String &value)
ListTrafficPoliciesResult & WithTrafficPolicySummaries(const Aws::Vector< TrafficPolicySummary > &value)
void SetTrafficPolicySummaries(const Aws::Vector< TrafficPolicySummary > &value)
ListTrafficPoliciesResult & WithRequestId(const Aws::String &value)
ListTrafficPoliciesResult & WithRequestId(const char *value)
ListTrafficPoliciesResult & WithTrafficPolicyIdMarker(const Aws::String &value)
ListTrafficPoliciesResult & WithTrafficPolicySummaries(Aws::Vector< TrafficPolicySummary > &&value)
ListTrafficPoliciesResult & AddTrafficPolicySummaries(TrafficPolicySummary &&value)
ListTrafficPoliciesResult & AddTrafficPolicySummaries(const TrafficPolicySummary &value)
ListTrafficPoliciesResult & WithIsTruncated(bool value)
AWS_ROUTE53_API ListTrafficPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListTrafficPoliciesResult & WithRequestId(Aws::String &&value)
ListTrafficPoliciesResult & WithMaxItems(Aws::String &&value)
AWS_ROUTE53_API ListTrafficPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListTrafficPoliciesResult & WithMaxItems(const char *value)
void SetTrafficPolicySummaries(Aws::Vector< TrafficPolicySummary > &&value)
const Aws::Vector< TrafficPolicySummary > & GetTrafficPolicySummaries() const
ListTrafficPoliciesResult & WithTrafficPolicyIdMarker(const char *value)
ListTrafficPoliciesResult & WithTrafficPolicyIdMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument