AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
42
43
45
48 inline const Aws::String& GetCloudWatchLogGroupName() const { return m_cloudWatchLogGroupName; }
49 inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; }
50 template<typename CloudWatchLogGroupNameT = Aws::String>
51 void SetCloudWatchLogGroupName(CloudWatchLogGroupNameT&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::forward<CloudWatchLogGroupNameT>(value); }
52 template<typename CloudWatchLogGroupNameT = Aws::String>
53 PostLaunchActions& WithCloudWatchLogGroupName(CloudWatchLogGroupNameT&& value) { SetCloudWatchLogGroupName(std::forward<CloudWatchLogGroupNameT>(value)); return *this;}
55
57
60 inline PostLaunchActionsDeploymentType GetDeployment() const { return m_deployment; }
61 inline bool DeploymentHasBeenSet() const { return m_deploymentHasBeenSet; }
62 inline void SetDeployment(PostLaunchActionsDeploymentType value) { m_deploymentHasBeenSet = true; m_deployment = value; }
65
67
70 inline const Aws::String& GetS3LogBucket() const { return m_s3LogBucket; }
71 inline bool S3LogBucketHasBeenSet() const { return m_s3LogBucketHasBeenSet; }
72 template<typename S3LogBucketT = Aws::String>
73 void SetS3LogBucket(S3LogBucketT&& value) { m_s3LogBucketHasBeenSet = true; m_s3LogBucket = std::forward<S3LogBucketT>(value); }
74 template<typename S3LogBucketT = Aws::String>
75 PostLaunchActions& WithS3LogBucket(S3LogBucketT&& value) { SetS3LogBucket(std::forward<S3LogBucketT>(value)); return *this;}
77
79
82 inline const Aws::String& GetS3OutputKeyPrefix() const { return m_s3OutputKeyPrefix; }
83 inline bool S3OutputKeyPrefixHasBeenSet() const { return m_s3OutputKeyPrefixHasBeenSet; }
84 template<typename S3OutputKeyPrefixT = Aws::String>
85 void SetS3OutputKeyPrefix(S3OutputKeyPrefixT&& value) { m_s3OutputKeyPrefixHasBeenSet = true; m_s3OutputKeyPrefix = std::forward<S3OutputKeyPrefixT>(value); }
86 template<typename S3OutputKeyPrefixT = Aws::String>
87 PostLaunchActions& WithS3OutputKeyPrefix(S3OutputKeyPrefixT&& value) { SetS3OutputKeyPrefix(std::forward<S3OutputKeyPrefixT>(value)); return *this;}
89
91
94 inline const Aws::Vector<SsmDocument>& GetSsmDocuments() const { return m_ssmDocuments; }
95 inline bool SsmDocumentsHasBeenSet() const { return m_ssmDocumentsHasBeenSet; }
96 template<typename SsmDocumentsT = Aws::Vector<SsmDocument>>
97 void SetSsmDocuments(SsmDocumentsT&& value) { m_ssmDocumentsHasBeenSet = true; m_ssmDocuments = std::forward<SsmDocumentsT>(value); }
98 template<typename SsmDocumentsT = Aws::Vector<SsmDocument>>
99 PostLaunchActions& WithSsmDocuments(SsmDocumentsT&& value) { SetSsmDocuments(std::forward<SsmDocumentsT>(value)); return *this;}
100 template<typename SsmDocumentsT = SsmDocument>
101 PostLaunchActions& AddSsmDocuments(SsmDocumentsT&& value) { m_ssmDocumentsHasBeenSet = true; m_ssmDocuments.emplace_back(std::forward<SsmDocumentsT>(value)); return *this; }
103 private:
104
105 Aws::String m_cloudWatchLogGroupName;
106 bool m_cloudWatchLogGroupNameHasBeenSet = false;
107
109 bool m_deploymentHasBeenSet = false;
110
111 Aws::String m_s3LogBucket;
112 bool m_s3LogBucketHasBeenSet = false;
113
114 Aws::String m_s3OutputKeyPrefix;
115 bool m_s3OutputKeyPrefixHasBeenSet = false;
116
117 Aws::Vector<SsmDocument> m_ssmDocuments;
118 bool m_ssmDocumentsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace mgn
123} // namespace Aws
bool S3LogBucketHasBeenSet() const
PostLaunchActions & WithDeployment(PostLaunchActionsDeploymentType value)
AWS_MGN_API PostLaunchActions(Aws::Utils::Json::JsonView jsonValue)
bool DeploymentHasBeenSet() const
bool SsmDocumentsHasBeenSet() const
PostLaunchActions & WithS3OutputKeyPrefix(S3OutputKeyPrefixT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API PostLaunchActions()=default
PostLaunchActions & WithCloudWatchLogGroupName(CloudWatchLogGroupNameT &&value)
const Aws::String & GetS3OutputKeyPrefix() const
bool S3OutputKeyPrefixHasBeenSet() const
void SetDeployment(PostLaunchActionsDeploymentType value)
void SetSsmDocuments(SsmDocumentsT &&value)
void SetS3OutputKeyPrefix(S3OutputKeyPrefixT &&value)
const Aws::Vector< SsmDocument > & GetSsmDocuments() const
PostLaunchActions & WithSsmDocuments(SsmDocumentsT &&value)
void SetCloudWatchLogGroupName(CloudWatchLogGroupNameT &&value)
PostLaunchActions & WithS3LogBucket(S3LogBucketT &&value)
bool CloudWatchLogGroupNameHasBeenSet() const
PostLaunchActionsDeploymentType GetDeployment() const
const Aws::String & GetS3LogBucket() const
const Aws::String & GetCloudWatchLogGroupName() const
AWS_MGN_API PostLaunchActions & operator=(Aws::Utils::Json::JsonView jsonValue)
PostLaunchActions & AddSsmDocuments(SsmDocumentsT &&value)
void SetS3LogBucket(S3LogBucketT &&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