AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetParametersRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSM_API GetParametersRequest();
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 "GetParameters"; }
32
33 AWS_SSM_API Aws::String SerializePayload() const override;
34
36
37
39
51 inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
52 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
53 inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
54 inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
55 inline GetParametersRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
56 inline GetParametersRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
57 inline GetParametersRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
58 inline GetParametersRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
59 inline GetParametersRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
61
63
68 inline bool GetWithDecryption() const{ return m_withDecryption; }
69 inline bool WithDecryptionHasBeenSet() const { return m_withDecryptionHasBeenSet; }
70 inline void SetWithDecryption(bool value) { m_withDecryptionHasBeenSet = true; m_withDecryption = value; }
71 inline GetParametersRequest& WithWithDecryption(bool value) { SetWithDecryption(value); return *this;}
73 private:
74
76 bool m_namesHasBeenSet = false;
77
78 bool m_withDecryption;
79 bool m_withDecryptionHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SSM
84} // namespace Aws
GetParametersRequest & AddNames(Aws::String &&value)
GetParametersRequest & AddNames(const char *value)
GetParametersRequest & WithNames(Aws::Vector< Aws::String > &&value)
GetParametersRequest & WithNames(const Aws::Vector< Aws::String > &value)
GetParametersRequest & WithWithDecryption(bool value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API Aws::String SerializePayload() const override
void SetNames(Aws::Vector< Aws::String > &&value)
GetParametersRequest & AddNames(const Aws::String &value)
const Aws::Vector< Aws::String > & GetNames() const
virtual const char * GetServiceRequestName() const override
void SetNames(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector