AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateQAppRequest.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qapps/model/AppDefinitionInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QApps
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QAPPS_API UpdateQAppRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateQApp"; }
32
33 AWS_QAPPS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline UpdateQAppRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline UpdateQAppRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline UpdateQAppRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
57 inline const Aws::String& GetAppId() const{ return m_appId; }
58 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
59 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
60 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
61 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
62 inline UpdateQAppRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
63 inline UpdateQAppRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
64 inline UpdateQAppRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
66
68
71 inline const Aws::String& GetTitle() const{ return m_title; }
72 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
73 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
74 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
75 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
76 inline UpdateQAppRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
77 inline UpdateQAppRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
78 inline UpdateQAppRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline UpdateQAppRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline UpdateQAppRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline UpdateQAppRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
94
96
99 inline const AppDefinitionInput& GetAppDefinition() const{ return m_appDefinition; }
100 inline bool AppDefinitionHasBeenSet() const { return m_appDefinitionHasBeenSet; }
101 inline void SetAppDefinition(const AppDefinitionInput& value) { m_appDefinitionHasBeenSet = true; m_appDefinition = value; }
102 inline void SetAppDefinition(AppDefinitionInput&& value) { m_appDefinitionHasBeenSet = true; m_appDefinition = std::move(value); }
103 inline UpdateQAppRequest& WithAppDefinition(const AppDefinitionInput& value) { SetAppDefinition(value); return *this;}
104 inline UpdateQAppRequest& WithAppDefinition(AppDefinitionInput&& value) { SetAppDefinition(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_instanceId;
109 bool m_instanceIdHasBeenSet = false;
110
111 Aws::String m_appId;
112 bool m_appIdHasBeenSet = false;
113
114 Aws::String m_title;
115 bool m_titleHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 AppDefinitionInput m_appDefinition;
121 bool m_appDefinitionHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QApps
126} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetInstanceId(const Aws::String &value)
const Aws::String & GetAppId() const
void SetDescription(const Aws::String &value)
UpdateQAppRequest & WithAppId(const char *value)
const Aws::String & GetTitle() const
void SetInstanceId(Aws::String &&value)
void SetAppId(const Aws::String &value)
UpdateQAppRequest & WithInstanceId(const char *value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTitle(const Aws::String &value)
void SetDescription(Aws::String &&value)
UpdateQAppRequest & WithTitle(const char *value)
UpdateQAppRequest & WithAppDefinition(const AppDefinitionInput &value)
UpdateQAppRequest & WithAppId(const Aws::String &value)
UpdateQAppRequest & WithDescription(const char *value)
const AppDefinitionInput & GetAppDefinition() const
UpdateQAppRequest & WithAppId(Aws::String &&value)
UpdateQAppRequest & WithDescription(const Aws::String &value)
UpdateQAppRequest & WithInstanceId(Aws::String &&value)
void SetAppDefinition(AppDefinitionInput &&value)
const Aws::String & GetInstanceId() const
UpdateQAppRequest & WithTitle(Aws::String &&value)
UpdateQAppRequest & WithDescription(Aws::String &&value)
AWS_QAPPS_API Aws::String SerializePayload() const override
UpdateQAppRequest & WithInstanceId(const Aws::String &value)
const Aws::String & GetDescription() const
UpdateQAppRequest & WithTitle(const Aws::String &value)
void SetAppDefinition(const AppDefinitionInput &value)
UpdateQAppRequest & WithAppDefinition(AppDefinitionInput &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String