AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename StackNameT = Aws::String>
47 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
48 template<typename StackNameT = Aws::String>
49 DetectStackDriftRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetLogicalResourceIds() const { return m_logicalResourceIds; }
57 inline bool LogicalResourceIdsHasBeenSet() const { return m_logicalResourceIdsHasBeenSet; }
58 template<typename LogicalResourceIdsT = Aws::Vector<Aws::String>>
59 void SetLogicalResourceIds(LogicalResourceIdsT&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds = std::forward<LogicalResourceIdsT>(value); }
60 template<typename LogicalResourceIdsT = Aws::Vector<Aws::String>>
61 DetectStackDriftRequest& WithLogicalResourceIds(LogicalResourceIdsT&& value) { SetLogicalResourceIds(std::forward<LogicalResourceIdsT>(value)); return *this;}
62 template<typename LogicalResourceIdsT = Aws::String>
63 DetectStackDriftRequest& AddLogicalResourceIds(LogicalResourceIdsT&& value) { m_logicalResourceIdsHasBeenSet = true; m_logicalResourceIds.emplace_back(std::forward<LogicalResourceIdsT>(value)); return *this; }
65 private:
66
67 Aws::String m_stackName;
68 bool m_stackNameHasBeenSet = false;
69
70 Aws::Vector<Aws::String> m_logicalResourceIds;
71 bool m_logicalResourceIdsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudFormation
76} // namespace Aws
AWS_CLOUDFORMATION_API DetectStackDriftRequest()=default
DetectStackDriftRequest & WithLogicalResourceIds(LogicalResourceIdsT &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DetectStackDriftRequest & AddLogicalResourceIds(LogicalResourceIdsT &&value)
const Aws::Vector< Aws::String > & GetLogicalResourceIds() const
DetectStackDriftRequest & WithStackName(StackNameT &&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