AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PostLaunchActions.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/PostLaunchActionsDeploymentType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mgn/model/SsmDocument.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace mgn
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MGN_API PostLaunchActions();
42
43
45
48 inline const Aws::String& GetCloudWatchLogGroupName() const{ return m_cloudWatchLogGroupName; }
49 inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; }
50 inline void SetCloudWatchLogGroupName(const Aws::String& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = value; }
51 inline void SetCloudWatchLogGroupName(Aws::String&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::move(value); }
52 inline void SetCloudWatchLogGroupName(const char* value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName.assign(value); }
54 inline PostLaunchActions& WithCloudWatchLogGroupName(Aws::String&& value) { SetCloudWatchLogGroupName(std::move(value)); return *this;}
55 inline PostLaunchActions& WithCloudWatchLogGroupName(const char* value) { SetCloudWatchLogGroupName(value); return *this;}
57
59
62 inline const PostLaunchActionsDeploymentType& GetDeployment() const{ return m_deployment; }
63 inline bool DeploymentHasBeenSet() const { return m_deploymentHasBeenSet; }
64 inline void SetDeployment(const PostLaunchActionsDeploymentType& value) { m_deploymentHasBeenSet = true; m_deployment = value; }
65 inline void SetDeployment(PostLaunchActionsDeploymentType&& value) { m_deploymentHasBeenSet = true; m_deployment = std::move(value); }
67 inline PostLaunchActions& WithDeployment(PostLaunchActionsDeploymentType&& value) { SetDeployment(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetS3LogBucket() const{ return m_s3LogBucket; }
75 inline bool S3LogBucketHasBeenSet() const { return m_s3LogBucketHasBeenSet; }
76 inline void SetS3LogBucket(const Aws::String& value) { m_s3LogBucketHasBeenSet = true; m_s3LogBucket = value; }
77 inline void SetS3LogBucket(Aws::String&& value) { m_s3LogBucketHasBeenSet = true; m_s3LogBucket = std::move(value); }
78 inline void SetS3LogBucket(const char* value) { m_s3LogBucketHasBeenSet = true; m_s3LogBucket.assign(value); }
79 inline PostLaunchActions& WithS3LogBucket(const Aws::String& value) { SetS3LogBucket(value); return *this;}
80 inline PostLaunchActions& WithS3LogBucket(Aws::String&& value) { SetS3LogBucket(std::move(value)); return *this;}
81 inline PostLaunchActions& WithS3LogBucket(const char* value) { SetS3LogBucket(value); return *this;}
83
85
88 inline const Aws::String& GetS3OutputKeyPrefix() const{ return m_s3OutputKeyPrefix; }
89 inline bool S3OutputKeyPrefixHasBeenSet() const { return m_s3OutputKeyPrefixHasBeenSet; }
90 inline void SetS3OutputKeyPrefix(const Aws::String& value) { m_s3OutputKeyPrefixHasBeenSet = true; m_s3OutputKeyPrefix = value; }
91 inline void SetS3OutputKeyPrefix(Aws::String&& value) { m_s3OutputKeyPrefixHasBeenSet = true; m_s3OutputKeyPrefix = std::move(value); }
92 inline void SetS3OutputKeyPrefix(const char* value) { m_s3OutputKeyPrefixHasBeenSet = true; m_s3OutputKeyPrefix.assign(value); }
93 inline PostLaunchActions& WithS3OutputKeyPrefix(const Aws::String& value) { SetS3OutputKeyPrefix(value); return *this;}
94 inline PostLaunchActions& WithS3OutputKeyPrefix(Aws::String&& value) { SetS3OutputKeyPrefix(std::move(value)); return *this;}
95 inline PostLaunchActions& WithS3OutputKeyPrefix(const char* value) { SetS3OutputKeyPrefix(value); return *this;}
97
99
102 inline const Aws::Vector<SsmDocument>& GetSsmDocuments() const{ return m_ssmDocuments; }
103 inline bool SsmDocumentsHasBeenSet() const { return m_ssmDocumentsHasBeenSet; }
104 inline void SetSsmDocuments(const Aws::Vector<SsmDocument>& value) { m_ssmDocumentsHasBeenSet = true; m_ssmDocuments = value; }
105 inline void SetSsmDocuments(Aws::Vector<SsmDocument>&& value) { m_ssmDocumentsHasBeenSet = true; m_ssmDocuments = std::move(value); }
106 inline PostLaunchActions& WithSsmDocuments(const Aws::Vector<SsmDocument>& value) { SetSsmDocuments(value); return *this;}
107 inline PostLaunchActions& WithSsmDocuments(Aws::Vector<SsmDocument>&& value) { SetSsmDocuments(std::move(value)); return *this;}
108 inline PostLaunchActions& AddSsmDocuments(const SsmDocument& value) { m_ssmDocumentsHasBeenSet = true; m_ssmDocuments.push_back(value); return *this; }
109 inline PostLaunchActions& AddSsmDocuments(SsmDocument&& value) { m_ssmDocumentsHasBeenSet = true; m_ssmDocuments.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_cloudWatchLogGroupName;
114 bool m_cloudWatchLogGroupNameHasBeenSet = false;
115
117 bool m_deploymentHasBeenSet = false;
118
119 Aws::String m_s3LogBucket;
120 bool m_s3LogBucketHasBeenSet = false;
121
122 Aws::String m_s3OutputKeyPrefix;
123 bool m_s3OutputKeyPrefixHasBeenSet = false;
124
125 Aws::Vector<SsmDocument> m_ssmDocuments;
126 bool m_ssmDocumentsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace mgn
131} // namespace Aws
bool S3LogBucketHasBeenSet() const
PostLaunchActions & WithCloudWatchLogGroupName(const Aws::String &value)
void SetDeployment(PostLaunchActionsDeploymentType &&value)
void SetS3LogBucket(const Aws::String &value)
PostLaunchActions & WithDeployment(const PostLaunchActionsDeploymentType &value)
PostLaunchActions & WithS3OutputKeyPrefix(const Aws::String &value)
const PostLaunchActionsDeploymentType & GetDeployment() const
AWS_MGN_API PostLaunchActions(Aws::Utils::Json::JsonView jsonValue)
bool DeploymentHasBeenSet() const
PostLaunchActions & WithCloudWatchLogGroupName(const char *value)
bool SsmDocumentsHasBeenSet() const
void SetS3OutputKeyPrefix(Aws::String &&value)
PostLaunchActions & WithCloudWatchLogGroupName(Aws::String &&value)
void SetCloudWatchLogGroupName(const Aws::String &value)
void SetDeployment(const PostLaunchActionsDeploymentType &value)
PostLaunchActions & WithS3OutputKeyPrefix(Aws::String &&value)
void SetSsmDocuments(const Aws::Vector< SsmDocument > &value)
PostLaunchActions & WithSsmDocuments(Aws::Vector< SsmDocument > &&value)
void SetS3OutputKeyPrefix(const char *value)
PostLaunchActions & AddSsmDocuments(const SsmDocument &value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
PostLaunchActions & WithS3LogBucket(const char *value)
PostLaunchActions & WithS3LogBucket(const Aws::String &value)
void SetCloudWatchLogGroupName(const char *value)
const Aws::String & GetS3OutputKeyPrefix() const
bool S3OutputKeyPrefixHasBeenSet() const
void SetSsmDocuments(Aws::Vector< SsmDocument > &&value)
AWS_MGN_API PostLaunchActions()
const Aws::Vector< SsmDocument > & GetSsmDocuments() const
void SetS3LogBucket(const char *value)
PostLaunchActions & WithDeployment(PostLaunchActionsDeploymentType &&value)
void SetS3OutputKeyPrefix(const Aws::String &value)
bool CloudWatchLogGroupNameHasBeenSet() const
PostLaunchActions & WithSsmDocuments(const Aws::Vector< SsmDocument > &value)
PostLaunchActions & WithS3LogBucket(Aws::String &&value)
const Aws::String & GetS3LogBucket() const
const Aws::String & GetCloudWatchLogGroupName() const
AWS_MGN_API PostLaunchActions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3LogBucket(Aws::String &&value)
void SetCloudWatchLogGroupName(Aws::String &&value)
PostLaunchActions & WithS3OutputKeyPrefix(const char *value)
PostLaunchActions & AddSsmDocuments(SsmDocument &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue