AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAccessLogSubscriptionResult.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_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 VPCLattice
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetArn() const{ return m_arn; }
40 inline void SetArn(const Aws::String& value) { m_arn = value; }
41 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
42 inline void SetArn(const char* value) { m_arn.assign(value); }
43 inline CreateAccessLogSubscriptionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
44 inline CreateAccessLogSubscriptionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
45 inline CreateAccessLogSubscriptionResult& WithArn(const char* value) { SetArn(value); return *this;}
47
49
52 inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; }
53 inline void SetDestinationArn(const Aws::String& value) { m_destinationArn = value; }
54 inline void SetDestinationArn(Aws::String&& value) { m_destinationArn = std::move(value); }
55 inline void SetDestinationArn(const char* value) { m_destinationArn.assign(value); }
57 inline CreateAccessLogSubscriptionResult& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;}
58 inline CreateAccessLogSubscriptionResult& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;}
60
62
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline void SetId(const Aws::String& value) { m_id = value; }
67 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
68 inline void SetId(const char* value) { m_id.assign(value); }
69 inline CreateAccessLogSubscriptionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline CreateAccessLogSubscriptionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline CreateAccessLogSubscriptionResult& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
79 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
80 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
81 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
82 inline CreateAccessLogSubscriptionResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
83 inline CreateAccessLogSubscriptionResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
84 inline CreateAccessLogSubscriptionResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
86
88
91 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
92 inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
93 inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
94 inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
95 inline CreateAccessLogSubscriptionResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
96 inline CreateAccessLogSubscriptionResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
97 inline CreateAccessLogSubscriptionResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline CreateAccessLogSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline CreateAccessLogSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline CreateAccessLogSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_arn;
113
114 Aws::String m_destinationArn;
115
116 Aws::String m_id;
117
118 Aws::String m_resourceArn;
119
120 Aws::String m_resourceId;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace VPCLattice
127} // namespace Aws
CreateAccessLogSubscriptionResult & WithId(Aws::String &&value)
CreateAccessLogSubscriptionResult & WithDestinationArn(const char *value)
CreateAccessLogSubscriptionResult & WithId(const char *value)
CreateAccessLogSubscriptionResult & WithArn(const char *value)
CreateAccessLogSubscriptionResult & WithRequestId(const Aws::String &value)
CreateAccessLogSubscriptionResult & WithArn(Aws::String &&value)
CreateAccessLogSubscriptionResult & WithResourceArn(Aws::String &&value)
CreateAccessLogSubscriptionResult & WithResourceArn(const Aws::String &value)
CreateAccessLogSubscriptionResult & WithResourceArn(const char *value)
CreateAccessLogSubscriptionResult & WithRequestId(Aws::String &&value)
CreateAccessLogSubscriptionResult & WithRequestId(const char *value)
AWS_VPCLATTICE_API CreateAccessLogSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccessLogSubscriptionResult & WithArn(const Aws::String &value)
CreateAccessLogSubscriptionResult & WithId(const Aws::String &value)
CreateAccessLogSubscriptionResult & WithDestinationArn(Aws::String &&value)
CreateAccessLogSubscriptionResult & WithResourceId(const Aws::String &value)
AWS_VPCLATTICE_API CreateAccessLogSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccessLogSubscriptionResult & WithDestinationArn(const Aws::String &value)
CreateAccessLogSubscriptionResult & WithResourceId(const char *value)
CreateAccessLogSubscriptionResult & WithResourceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue