AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExtensionAssociationSummary.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppConfig
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_APPCONFIG_API ExtensionAssociationSummary();
40 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline ExtensionAssociationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline ExtensionAssociationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline ExtensionAssociationSummary& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetExtensionArn() const{ return m_extensionArn; }
65 inline bool ExtensionArnHasBeenSet() const { return m_extensionArnHasBeenSet; }
66 inline void SetExtensionArn(const Aws::String& value) { m_extensionArnHasBeenSet = true; m_extensionArn = value; }
67 inline void SetExtensionArn(Aws::String&& value) { m_extensionArnHasBeenSet = true; m_extensionArn = std::move(value); }
68 inline void SetExtensionArn(const char* value) { m_extensionArnHasBeenSet = true; m_extensionArn.assign(value); }
69 inline ExtensionAssociationSummary& WithExtensionArn(const Aws::String& value) { SetExtensionArn(value); return *this;}
70 inline ExtensionAssociationSummary& WithExtensionArn(Aws::String&& value) { SetExtensionArn(std::move(value)); return *this;}
71 inline ExtensionAssociationSummary& WithExtensionArn(const char* value) { SetExtensionArn(value); return *this;}
73
75
79 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
80 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
81 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
82 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
83 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
84 inline ExtensionAssociationSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
85 inline ExtensionAssociationSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
86 inline ExtensionAssociationSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
88 private:
89
90 Aws::String m_id;
91 bool m_idHasBeenSet = false;
92
93 Aws::String m_extensionArn;
94 bool m_extensionArnHasBeenSet = false;
95
96 Aws::String m_resourceArn;
97 bool m_resourceArnHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace AppConfig
102} // namespace Aws
ExtensionAssociationSummary & WithId(const Aws::String &value)
AWS_APPCONFIG_API ExtensionAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExtensionAssociationSummary & WithId(Aws::String &&value)
ExtensionAssociationSummary & WithResourceArn(const char *value)
ExtensionAssociationSummary & WithExtensionArn(const Aws::String &value)
AWS_APPCONFIG_API ExtensionAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
ExtensionAssociationSummary & WithExtensionArn(Aws::String &&value)
ExtensionAssociationSummary & WithId(const char *value)
ExtensionAssociationSummary & WithResourceArn(const Aws::String &value)
ExtensionAssociationSummary & WithExtensionArn(const char *value)
ExtensionAssociationSummary & WithResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue