AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
VpcConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AccessAnalyzer {
20namespace Model {
21
32 public:
33 AWS_ACCESSANALYZER_API VpcConfiguration() = default;
34 AWS_ACCESSANALYZER_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ACCESSANALYZER_API VpcConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetVpcId() const { return m_vpcId; }
44 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
45 template <typename VpcIdT = Aws::String>
46 void SetVpcId(VpcIdT&& value) {
47 m_vpcIdHasBeenSet = true;
48 m_vpcId = std::forward<VpcIdT>(value);
49 }
50 template <typename VpcIdT = Aws::String>
51 VpcConfiguration& WithVpcId(VpcIdT&& value) {
52 SetVpcId(std::forward<VpcIdT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_vpcId;
58 bool m_vpcIdHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace AccessAnalyzer
63} // namespace Aws
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCESSANALYZER_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfiguration & WithVpcId(VpcIdT &&value)
AWS_ACCESSANALYZER_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API VpcConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue