AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationRequest.h
1
6#pragma once
7#include <aws/iotfleethub/IoTFleetHub_EXPORTS.h>
8#include <aws/iotfleethub/IoTFleetHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace IoTFleetHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTFLEETHUB_API UpdateApplicationRequest();
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 "UpdateApplication"; }
32
33 AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline UpdateApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline UpdateApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline UpdateApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
54 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
55 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
56 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
57 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
58 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
59 inline UpdateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
60 inline UpdateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
61 inline UpdateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
63
65
68 inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; }
69 inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; }
70 inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; }
71 inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); }
72 inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); }
75 inline UpdateApplicationRequest& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;}
77
79
84 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
85 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
86 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
87 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
88 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
89 inline UpdateApplicationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
90 inline UpdateApplicationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
91 inline UpdateApplicationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
93 private:
94
95 Aws::String m_applicationId;
96 bool m_applicationIdHasBeenSet = false;
97
98 Aws::String m_applicationName;
99 bool m_applicationNameHasBeenSet = false;
100
101 Aws::String m_applicationDescription;
102 bool m_applicationDescriptionHasBeenSet = false;
103
104 Aws::String m_clientToken;
105 bool m_clientTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IoTFleetHub
110} // namespace Aws
UpdateApplicationRequest & WithApplicationName(Aws::String &&value)
UpdateApplicationRequest & WithApplicationId(Aws::String &&value)
UpdateApplicationRequest & WithApplicationDescription(const Aws::String &value)
UpdateApplicationRequest & WithApplicationName(const char *value)
UpdateApplicationRequest & WithApplicationId(const Aws::String &value)
UpdateApplicationRequest & WithApplicationName(const Aws::String &value)
UpdateApplicationRequest & WithApplicationDescription(const char *value)
AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override
UpdateApplicationRequest & WithApplicationId(const char *value)
UpdateApplicationRequest & WithClientToken(const Aws::String &value)
UpdateApplicationRequest & WithApplicationDescription(Aws::String &&value)
UpdateApplicationRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateApplicationRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String