7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm/model/CommandFilter.h>
47 inline void SetCommandId(
const char* value) { m_commandIdHasBeenSet =
true; m_commandId.assign(value); }
64 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
78 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
91 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
114 bool m_commandIdHasBeenSet =
false;
117 bool m_instanceIdHasBeenSet =
false;
120 bool m_maxResultsHasBeenSet =
false;
123 bool m_nextTokenHasBeenSet =
false;
126 bool m_filtersHasBeenSet =
false;
ListCommandsRequest & WithInstanceId(const char *value)
void SetInstanceId(Aws::String &&value)
AWS_SSM_API Aws::String SerializePayload() const override
bool MaxResultsHasBeenSet() const
bool InstanceIdHasBeenSet() const
const Aws::String & GetNextToken() const
const Aws::String & GetCommandId() const
void SetCommandId(const char *value)
ListCommandsRequest & WithInstanceId(Aws::String &&value)
void SetFilters(Aws::Vector< CommandFilter > &&value)
ListCommandsRequest & WithMaxResults(int value)
ListCommandsRequest & WithNextToken(const char *value)
ListCommandsRequest & WithNextToken(Aws::String &&value)
ListCommandsRequest & WithCommandId(Aws::String &&value)
void SetNextToken(const char *value)
ListCommandsRequest & WithFilters(const Aws::Vector< CommandFilter > &value)
ListCommandsRequest & WithNextToken(const Aws::String &value)
ListCommandsRequest & AddFilters(const CommandFilter &value)
bool CommandIdHasBeenSet() const
void SetInstanceId(const char *value)
void SetFilters(const Aws::Vector< CommandFilter > &value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool FiltersHasBeenSet() const
ListCommandsRequest & AddFilters(CommandFilter &&value)
void SetMaxResults(int value)
void SetInstanceId(const Aws::String &value)
const Aws::Vector< CommandFilter > & GetFilters() const
ListCommandsRequest & WithCommandId(const char *value)
ListCommandsRequest & WithCommandId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
void SetCommandId(const Aws::String &value)
const Aws::String & GetInstanceId() const
ListCommandsRequest & WithFilters(Aws::Vector< CommandFilter > &&value)
void SetNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
int GetMaxResults() const
ListCommandsRequest & WithInstanceId(const Aws::String &value)
void SetCommandId(Aws::String &&value)
AWS_SSM_API ListCommandsRequest()
bool NextTokenHasBeenSet() const
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