AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartConfigurationSessionRequest.h
1
6#pragma once
7#include <aws/appconfigdata/AppConfigData_EXPORTS.h>
8#include <aws/appconfigdata/AppConfigDataRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AppConfigData
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_APPCONFIGDATA_API StartConfigurationSessionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartConfigurationSession"; }
31
32 AWS_APPCONFIGDATA_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetApplicationIdentifier() const { return m_applicationIdentifier; }
40 inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; }
41 template<typename ApplicationIdentifierT = Aws::String>
42 void SetApplicationIdentifier(ApplicationIdentifierT&& value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value); }
43 template<typename ApplicationIdentifierT = Aws::String>
44 StartConfigurationSessionRequest& WithApplicationIdentifier(ApplicationIdentifierT&& value) { SetApplicationIdentifier(std::forward<ApplicationIdentifierT>(value)); return *this;}
46
48
51 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
52 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
53 template<typename EnvironmentIdentifierT = Aws::String>
54 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
55 template<typename EnvironmentIdentifierT = Aws::String>
56 StartConfigurationSessionRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) { SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value)); return *this;}
58
60
63 inline const Aws::String& GetConfigurationProfileIdentifier() const { return m_configurationProfileIdentifier; }
64 inline bool ConfigurationProfileIdentifierHasBeenSet() const { return m_configurationProfileIdentifierHasBeenSet; }
65 template<typename ConfigurationProfileIdentifierT = Aws::String>
66 void SetConfigurationProfileIdentifier(ConfigurationProfileIdentifierT&& value) { m_configurationProfileIdentifierHasBeenSet = true; m_configurationProfileIdentifier = std::forward<ConfigurationProfileIdentifierT>(value); }
67 template<typename ConfigurationProfileIdentifierT = Aws::String>
68 StartConfigurationSessionRequest& WithConfigurationProfileIdentifier(ConfigurationProfileIdentifierT&& value) { SetConfigurationProfileIdentifier(std::forward<ConfigurationProfileIdentifierT>(value)); return *this;}
70
72
77 inline int GetRequiredMinimumPollIntervalInSeconds() const { return m_requiredMinimumPollIntervalInSeconds; }
78 inline bool RequiredMinimumPollIntervalInSecondsHasBeenSet() const { return m_requiredMinimumPollIntervalInSecondsHasBeenSet; }
79 inline void SetRequiredMinimumPollIntervalInSeconds(int value) { m_requiredMinimumPollIntervalInSecondsHasBeenSet = true; m_requiredMinimumPollIntervalInSeconds = value; }
82 private:
83
84 Aws::String m_applicationIdentifier;
85 bool m_applicationIdentifierHasBeenSet = false;
86
87 Aws::String m_environmentIdentifier;
88 bool m_environmentIdentifierHasBeenSet = false;
89
90 Aws::String m_configurationProfileIdentifier;
91 bool m_configurationProfileIdentifierHasBeenSet = false;
92
93 int m_requiredMinimumPollIntervalInSeconds{0};
94 bool m_requiredMinimumPollIntervalInSecondsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AppConfigData
99} // namespace Aws
AWS_APPCONFIGDATA_API StartConfigurationSessionRequest()=default
void SetConfigurationProfileIdentifier(ConfigurationProfileIdentifierT &&value)
StartConfigurationSessionRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
AWS_APPCONFIGDATA_API Aws::String SerializePayload() const override
StartConfigurationSessionRequest & WithRequiredMinimumPollIntervalInSeconds(int value)
StartConfigurationSessionRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
StartConfigurationSessionRequest & WithConfigurationProfileIdentifier(ConfigurationProfileIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String