AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApplicationResult.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MainframeModernization
24{
25namespace Model
26{
28 {
29 public:
30 AWS_MAINFRAMEMODERNIZATION_API CreateApplicationResult();
33
34
36
39 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
40 inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; }
41 inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); }
42 inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); }
43 inline CreateApplicationResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
44 inline CreateApplicationResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
45 inline CreateApplicationResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
47
49
52 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
53 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
54 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
55 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
56 inline CreateApplicationResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
57 inline CreateApplicationResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
58 inline CreateApplicationResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
60
62
65 inline int GetApplicationVersion() const{ return m_applicationVersion; }
66 inline void SetApplicationVersion(int value) { m_applicationVersion = value; }
67 inline CreateApplicationResult& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline CreateApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline CreateApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline CreateApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_applicationArn;
83
84 Aws::String m_applicationId;
85
86 int m_applicationVersion;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace MainframeModernization
93} // namespace Aws
CreateApplicationResult & WithApplicationId(const char *value)
CreateApplicationResult & WithApplicationArn(const char *value)
CreateApplicationResult & WithRequestId(const char *value)
AWS_MAINFRAMEMODERNIZATION_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithApplicationArn(const Aws::String &value)
CreateApplicationResult & WithApplicationArn(Aws::String &&value)
CreateApplicationResult & WithApplicationId(const Aws::String &value)
CreateApplicationResult & WithRequestId(Aws::String &&value)
CreateApplicationResult & WithApplicationId(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API CreateApplicationResult()
AWS_MAINFRAMEMODERNIZATION_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApplicationResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue