AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateServiceNetworkResult.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/vpc-lattice/model/AuthType.h>
10#include <aws/vpc-lattice/model/SharingConfig.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 VPCLattice
26{
27namespace Model
28{
30 {
31 public:
32 AWS_VPCLATTICE_API CreateServiceNetworkResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 CreateServiceNetworkResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline AuthType GetAuthType() const { return m_authType; }
53 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
54 inline CreateServiceNetworkResult& WithAuthType(AuthType value) { SetAuthType(value); return *this;}
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 template<typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 CreateServiceNetworkResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 CreateServiceNetworkResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline const SharingConfig& GetSharingConfig() const { return m_sharingConfig; }
84 template<typename SharingConfigT = SharingConfig>
85 void SetSharingConfig(SharingConfigT&& value) { m_sharingConfigHasBeenSet = true; m_sharingConfig = std::forward<SharingConfigT>(value); }
86 template<typename SharingConfigT = SharingConfig>
87 CreateServiceNetworkResult& WithSharingConfig(SharingConfigT&& value) { SetSharingConfig(std::forward<SharingConfigT>(value)); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template<typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
95 template<typename RequestIdT = Aws::String>
96 CreateServiceNetworkResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
98 private:
99
100 Aws::String m_arn;
101 bool m_arnHasBeenSet = false;
102
103 AuthType m_authType{AuthType::NOT_SET};
104 bool m_authTypeHasBeenSet = false;
105
106 Aws::String m_id;
107 bool m_idHasBeenSet = false;
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 SharingConfig m_sharingConfig;
113 bool m_sharingConfigHasBeenSet = false;
114
115 Aws::String m_requestId;
116 bool m_requestIdHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace VPCLattice
121} // namespace Aws
CreateServiceNetworkResult & WithSharingConfig(SharingConfigT &&value)
CreateServiceNetworkResult & WithRequestId(RequestIdT &&value)
AWS_VPCLATTICE_API CreateServiceNetworkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VPCLATTICE_API CreateServiceNetworkResult()=default
AWS_VPCLATTICE_API CreateServiceNetworkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateServiceNetworkResult & WithName(NameT &&value)
CreateServiceNetworkResult & WithAuthType(AuthType value)
CreateServiceNetworkResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue