AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IDCConfig.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_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 WorkSpaces
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_WORKSPACES_API IDCConfig();
36 AWS_WORKSPACES_API IDCConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WORKSPACES_API IDCConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
46 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
47 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
48 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
49 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
50 inline IDCConfig& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
51 inline IDCConfig& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
52 inline IDCConfig& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
54
56
59 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
60 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
61 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
62 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
63 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
64 inline IDCConfig& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
65 inline IDCConfig& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
66 inline IDCConfig& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
68 private:
69
70 Aws::String m_instanceArn;
71 bool m_instanceArnHasBeenSet = false;
72
73 Aws::String m_applicationArn;
74 bool m_applicationArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WorkSpaces
79} // namespace Aws
void SetApplicationArn(const Aws::String &value)
Definition IDCConfig.h:61
IDCConfig & WithInstanceArn(Aws::String &&value)
Definition IDCConfig.h:51
const Aws::String & GetApplicationArn() const
Definition IDCConfig.h:59
void SetApplicationArn(const char *value)
Definition IDCConfig.h:63
AWS_WORKSPACES_API IDCConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
IDCConfig & WithInstanceArn(const char *value)
Definition IDCConfig.h:52
IDCConfig & WithApplicationArn(Aws::String &&value)
Definition IDCConfig.h:65
AWS_WORKSPACES_API IDCConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API IDCConfig()
const Aws::String & GetInstanceArn() const
Definition IDCConfig.h:45
void SetInstanceArn(const char *value)
Definition IDCConfig.h:49
void SetInstanceArn(Aws::String &&value)
Definition IDCConfig.h:48
void SetInstanceArn(const Aws::String &value)
Definition IDCConfig.h:47
void SetApplicationArn(Aws::String &&value)
Definition IDCConfig.h:62
IDCConfig & WithInstanceArn(const Aws::String &value)
Definition IDCConfig.h:50
IDCConfig & WithApplicationArn(const char *value)
Definition IDCConfig.h:66
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
IDCConfig & WithApplicationArn(const Aws::String &value)
Definition IDCConfig.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue