AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerateChangeSetRequest.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/SMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sms/model/OutputFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SMS
16{
17namespace Model
18{
19
23 {
24 public:
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 "GenerateChangeSet"; }
32
33 AWS_SMS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetAppId() const{ return m_appId; }
43 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
44 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
45 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
46 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
47 inline GenerateChangeSetRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
48 inline GenerateChangeSetRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
49 inline GenerateChangeSetRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
51
53
56 inline const OutputFormat& GetChangesetFormat() const{ return m_changesetFormat; }
57 inline bool ChangesetFormatHasBeenSet() const { return m_changesetFormatHasBeenSet; }
58 inline void SetChangesetFormat(const OutputFormat& value) { m_changesetFormatHasBeenSet = true; m_changesetFormat = value; }
59 inline void SetChangesetFormat(OutputFormat&& value) { m_changesetFormatHasBeenSet = true; m_changesetFormat = std::move(value); }
60 inline GenerateChangeSetRequest& WithChangesetFormat(const OutputFormat& value) { SetChangesetFormat(value); return *this;}
61 inline GenerateChangeSetRequest& WithChangesetFormat(OutputFormat&& value) { SetChangesetFormat(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_appId;
66 bool m_appIdHasBeenSet = false;
67
68 OutputFormat m_changesetFormat;
69 bool m_changesetFormatHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SMS
74} // namespace Aws
void SetChangesetFormat(const OutputFormat &value)
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SMS_API Aws::String SerializePayload() const override
GenerateChangeSetRequest & WithChangesetFormat(const OutputFormat &value)
GenerateChangeSetRequest & WithAppId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GenerateChangeSetRequest & WithAppId(Aws::String &&value)
GenerateChangeSetRequest & WithAppId(const char *value)
GenerateChangeSetRequest & WithChangesetFormat(OutputFormat &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String