AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTrafficPolicyVersionResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/TrafficPolicy.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{
35 {
36 public:
40
41
43
47 inline const TrafficPolicy& GetTrafficPolicy() const{ return m_trafficPolicy; }
48 inline void SetTrafficPolicy(const TrafficPolicy& value) { m_trafficPolicy = value; }
49 inline void SetTrafficPolicy(TrafficPolicy&& value) { m_trafficPolicy = std::move(value); }
51 inline CreateTrafficPolicyVersionResult& WithTrafficPolicy(TrafficPolicy&& value) { SetTrafficPolicy(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetLocation() const{ return m_location; }
59 inline void SetLocation(const Aws::String& value) { m_location = value; }
60 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
61 inline void SetLocation(const char* value) { m_location.assign(value); }
62 inline CreateTrafficPolicyVersionResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
63 inline CreateTrafficPolicyVersionResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
64 inline CreateTrafficPolicyVersionResult& WithLocation(const char* value) { SetLocation(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline CreateTrafficPolicyVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline CreateTrafficPolicyVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline CreateTrafficPolicyVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 TrafficPolicy m_trafficPolicy;
80
81 Aws::String m_location;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Route53
88} // namespace Aws
CreateTrafficPolicyVersionResult & WithTrafficPolicy(TrafficPolicy &&value)
AWS_ROUTE53_API CreateTrafficPolicyVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateTrafficPolicyVersionResult & WithRequestId(const Aws::String &value)
CreateTrafficPolicyVersionResult & WithRequestId(Aws::String &&value)
CreateTrafficPolicyVersionResult & WithLocation(const char *value)
CreateTrafficPolicyVersionResult & WithTrafficPolicy(const TrafficPolicy &value)
CreateTrafficPolicyVersionResult & WithLocation(Aws::String &&value)
AWS_ROUTE53_API CreateTrafficPolicyVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateTrafficPolicyVersionResult & WithLocation(const Aws::String &value)
CreateTrafficPolicyVersionResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument