AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartAppAssessmentRequest.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace ResilienceHub
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_RESILIENCEHUB_API StartAppAssessmentRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartAppAssessment"; }
33
34 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
35
36
38
47 inline const Aws::String& GetAppArn() const{ return m_appArn; }
48 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
49 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
50 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
51 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
52 inline StartAppAssessmentRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
53 inline StartAppAssessmentRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
54 inline StartAppAssessmentRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
56
58
61 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
62 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
63 inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
64 inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); }
65 inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); }
66 inline StartAppAssessmentRequest& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
67 inline StartAppAssessmentRequest& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
68 inline StartAppAssessmentRequest& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
70
72
75 inline const Aws::String& GetAssessmentName() const{ return m_assessmentName; }
76 inline bool AssessmentNameHasBeenSet() const { return m_assessmentNameHasBeenSet; }
77 inline void SetAssessmentName(const Aws::String& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = value; }
78 inline void SetAssessmentName(Aws::String&& value) { m_assessmentNameHasBeenSet = true; m_assessmentName = std::move(value); }
79 inline void SetAssessmentName(const char* value) { m_assessmentNameHasBeenSet = true; m_assessmentName.assign(value); }
80 inline StartAppAssessmentRequest& WithAssessmentName(const Aws::String& value) { SetAssessmentName(value); return *this;}
81 inline StartAppAssessmentRequest& WithAssessmentName(Aws::String&& value) { SetAssessmentName(std::move(value)); return *this;}
82 inline StartAppAssessmentRequest& WithAssessmentName(const char* value) { SetAssessmentName(value); return *this;}
84
86
91 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
92 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
93 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
94 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
95 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
96 inline StartAppAssessmentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
97 inline StartAppAssessmentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
98 inline StartAppAssessmentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
100
102
106 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
107 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
108 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
109 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
111 inline StartAppAssessmentRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
112 inline StartAppAssessmentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
113 inline StartAppAssessmentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline StartAppAssessmentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
115 inline StartAppAssessmentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
116 inline StartAppAssessmentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
117 inline StartAppAssessmentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
118 inline StartAppAssessmentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
120 private:
121
122 Aws::String m_appArn;
123 bool m_appArnHasBeenSet = false;
124
125 Aws::String m_appVersion;
126 bool m_appVersionHasBeenSet = false;
127
128 Aws::String m_assessmentName;
129 bool m_assessmentNameHasBeenSet = false;
130
131 Aws::String m_clientToken;
132 bool m_clientTokenHasBeenSet = false;
133
135 bool m_tagsHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace ResilienceHub
140} // namespace Aws
StartAppAssessmentRequest & WithAppArn(Aws::String &&value)
StartAppAssessmentRequest & WithClientToken(const char *value)
StartAppAssessmentRequest & WithAssessmentName(const char *value)
StartAppAssessmentRequest & AddTags(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartAppAssessmentRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StartAppAssessmentRequest & AddTags(const Aws::String &key, Aws::String &&value)
StartAppAssessmentRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
StartAppAssessmentRequest & AddTags(Aws::String &&key, const char *value)
StartAppAssessmentRequest & WithAssessmentName(const Aws::String &value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
StartAppAssessmentRequest & WithAssessmentName(Aws::String &&value)
StartAppAssessmentRequest & AddTags(const char *key, Aws::String &&value)
StartAppAssessmentRequest & WithAppVersion(Aws::String &&value)
StartAppAssessmentRequest & WithAppArn(const char *value)
StartAppAssessmentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartAppAssessmentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartAppAssessmentRequest & WithAppArn(const Aws::String &value)
StartAppAssessmentRequest & WithClientToken(const Aws::String &value)
StartAppAssessmentRequest & WithAppVersion(const Aws::String &value)
StartAppAssessmentRequest & WithAppVersion(const char *value)
StartAppAssessmentRequest & WithClientToken(Aws::String &&value)
StartAppAssessmentRequest & AddTags(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String