AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTrafficPolicyResult.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:
37 AWS_ROUTE53_API CreateTrafficPolicyResult();
40
41
43
46 inline const TrafficPolicy& GetTrafficPolicy() const{ return m_trafficPolicy; }
47 inline void SetTrafficPolicy(const TrafficPolicy& value) { m_trafficPolicy = value; }
48 inline void SetTrafficPolicy(TrafficPolicy&& value) { m_trafficPolicy = std::move(value); }
49 inline CreateTrafficPolicyResult& WithTrafficPolicy(const TrafficPolicy& value) { SetTrafficPolicy(value); return *this;}
50 inline CreateTrafficPolicyResult& WithTrafficPolicy(TrafficPolicy&& value) { SetTrafficPolicy(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetLocation() const{ return m_location; }
58 inline void SetLocation(const Aws::String& value) { m_location = value; }
59 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
60 inline void SetLocation(const char* value) { m_location.assign(value); }
61 inline CreateTrafficPolicyResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
62 inline CreateTrafficPolicyResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
63 inline CreateTrafficPolicyResult& WithLocation(const char* value) { SetLocation(value); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline CreateTrafficPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline CreateTrafficPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline CreateTrafficPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 TrafficPolicy m_trafficPolicy;
79
80 Aws::String m_location;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace Route53
87} // namespace Aws
CreateTrafficPolicyResult & WithLocation(Aws::String &&value)
AWS_ROUTE53_API CreateTrafficPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ROUTE53_API CreateTrafficPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateTrafficPolicyResult & WithLocation(const Aws::String &value)
CreateTrafficPolicyResult & WithRequestId(const Aws::String &value)
CreateTrafficPolicyResult & WithTrafficPolicy(TrafficPolicy &&value)
CreateTrafficPolicyResult & WithTrafficPolicy(const TrafficPolicy &value)
CreateTrafficPolicyResult & WithLocation(const char *value)
CreateTrafficPolicyResult & WithRequestId(Aws::String &&value)
CreateTrafficPolicyResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument