AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDistributionResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/LightsailDistribution.h>
9#include <aws/lightsail/model/Operation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Lightsail
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LIGHTSAIL_API CreateDistributionResult();
35
36
38
41 inline const LightsailDistribution& GetDistribution() const{ return m_distribution; }
42 inline void SetDistribution(const LightsailDistribution& value) { m_distribution = value; }
43 inline void SetDistribution(LightsailDistribution&& value) { m_distribution = std::move(value); }
45 inline CreateDistributionResult& WithDistribution(LightsailDistribution&& value) { SetDistribution(std::move(value)); return *this;}
47
49
54 inline const Operation& GetOperation() const{ return m_operation; }
55 inline void SetOperation(const Operation& value) { m_operation = value; }
56 inline void SetOperation(Operation&& value) { m_operation = std::move(value); }
57 inline CreateDistributionResult& WithOperation(const Operation& value) { SetOperation(value); return *this;}
58 inline CreateDistributionResult& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline CreateDistributionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline CreateDistributionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline CreateDistributionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 LightsailDistribution m_distribution;
74
75 Operation m_operation;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace Lightsail
82} // namespace Aws
CreateDistributionResult & WithOperation(Operation &&value)
void SetDistribution(const LightsailDistribution &value)
AWS_LIGHTSAIL_API CreateDistributionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API CreateDistributionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDistributionResult & WithDistribution(LightsailDistribution &&value)
CreateDistributionResult & WithDistribution(const LightsailDistribution &value)
const LightsailDistribution & GetDistribution() const
CreateDistributionResult & WithOperation(const Operation &value)
CreateDistributionResult & WithRequestId(const char *value)
void SetDistribution(LightsailDistribution &&value)
CreateDistributionResult & WithRequestId(Aws::String &&value)
CreateDistributionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue