AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsVpcPeeredResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Lightsail
24{
25namespace Model
26{
28 {
29 public:
30 AWS_LIGHTSAIL_API IsVpcPeeredResult();
33
34
36
40 inline bool GetIsPeered() const{ return m_isPeered; }
41 inline void SetIsPeered(bool value) { m_isPeered = value; }
42 inline IsVpcPeeredResult& WithIsPeered(bool value) { SetIsPeered(value); return *this;}
44
46
47 inline const Aws::String& GetRequestId() const{ return m_requestId; }
48 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
49 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
50 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
51 inline IsVpcPeeredResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
52 inline IsVpcPeeredResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
53 inline IsVpcPeeredResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
55 private:
56
57 bool m_isPeered;
58
59 Aws::String m_requestId;
60 };
61
62} // namespace Model
63} // namespace Lightsail
64} // namespace Aws
IsVpcPeeredResult & WithIsPeered(bool value)
AWS_LIGHTSAIL_API IsVpcPeeredResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_LIGHTSAIL_API IsVpcPeeredResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IsVpcPeeredResult & WithRequestId(const char *value)
IsVpcPeeredResult & WithRequestId(const Aws::String &value)
IsVpcPeeredResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue