AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DetectStackDriftRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFormation
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDFORMATION_API DetectStackDriftRequest();
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 "DetectStackDrift"; }
32
33 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetStackName() const{ return m_stackName; }
45 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
46 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
47 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
48 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
49 inline DetectStackDriftRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
50 inline DetectStackDriftRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
51 inline DetectStackDriftRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetLogicalResourceIds() const{ return m_logicalResourceIds; }
59 inline bool LogicalResourceIdsHasBeenSet() const { return m_logicalResourceIdsHasBeenSet; }
60 inline void SetLogicalResourceIds(const Aws::Vector<Aws::String>& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds = value; }
61 inline void SetLogicalResourceIds(Aws::Vector<Aws::String>&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds = std::move(value); }
64 inline DetectStackDriftRequest& AddLogicalResourceIds(const Aws::String& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.push_back(value); return *this; }
65 inline DetectStackDriftRequest& AddLogicalResourceIds(Aws::String&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.push_back(std::move(value)); return *this; }
66 inline DetectStackDriftRequest& AddLogicalResourceIds(const char* value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.push_back(value); return *this; }
68 private:
69
70 Aws::String m_stackName;
71 bool m_stackNameHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_logicalResourceIds;
74 bool m_logicalResourceIdsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CloudFormation
79} // namespace Aws
DetectStackDriftRequest & AddLogicalResourceIds(Aws::String &&value)
void SetLogicalResourceIds(const Aws::Vector< Aws::String > &value)
void SetLogicalResourceIds(Aws::Vector< Aws::String > &&value)
DetectStackDriftRequest & AddLogicalResourceIds(const char *value)
DetectStackDriftRequest & WithStackName(Aws::String &&value)
DetectStackDriftRequest & AddLogicalResourceIds(const Aws::String &value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DetectStackDriftRequest & WithLogicalResourceIds(const Aws::Vector< Aws::String > &value)
DetectStackDriftRequest & WithLogicalResourceIds(Aws::Vector< Aws::String > &&value)
DetectStackDriftRequest & WithStackName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLogicalResourceIds() const
DetectStackDriftRequest & WithStackName(const char *value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector